MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to get the userid in JCL

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
prasanth_thavva
Beginner


Joined: 14 May 2006
Posts: 40
Topics: 18

PostPosted: Sat Jun 17, 2006 12:15 am    Post subject: How to get the userid in JCL Reply with quote

hi,

my query is to get the value of userid in jcl based on that value i want to create dataset in first step?

in detail:
Code:

//JOBNAME JOB (ACC),\\"Test-MSTRLOAD\\",NOTIFY=&SYSUID
//*
//SET Userid=&Userid <-- will statement is correct ?
//STEP01 EXEC PGM=IEFBR14
//*
//SYSUT1 DD DSN=&Userid..Test.Dummy,Disp=(,Catlg,Delete)...
//*

can any body explain is this correct ?

Thanks & Regards,
Venkata Prasanth
_________________
Thanks&Regards
Prasanth Thavva
Back to top
View user's profile Send private message Send e-mail
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Sat Jun 17, 2006 3:27 pm    Post subject: Reply with quote

You'd want this:

Code:

//JOBNAME JOB (ACC),\\\"Test-MSTRLOAD\\\",NOTIFY=&SYSUID
//*
//STEP01 EXEC PGM=IEFBR14
//*
//SYSUT1 DD DSN=&SYSUID..TEST.DUMMY,DISP=(,CATLG,DELETE)...
//*
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group