MVSFORUMS.com A Community of and for MVS Professionals
View previous topic :: View next topic
Author
Message
prasanth_thavva Beginner Joined: 14 May 2006 Posts: 40 Topics: 18
Posted: Sat Jun 17, 2006 12:15 am Post subject: How to get the userid in JCL
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
superk Advanced Joined: 19 Dec 2002 Posts: 684 Topics: 5
Posted: Sat Jun 17, 2006 3:27 pm Post subject:
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
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