View previous topic :: View next topic
Author
Message
ksivapradeep New User Joined: 30 Jul 2004Posts: 95
Hi all,
suppose i have 10 steps in my jcl STEP1, STEP2........STEP10 now i want to execute only STEP1, STEP5, STEP8, STEP9, STEP10. is there any chance to execute without COND parameter, we had IF cond but it makes the jcl some what complex
regards,
siva pradeep
Back to top
sarath_ibm New User Joined: 03 Aug 2005Posts: 14 Location: hyderabad
Here is the JCL which would execute only the given steps in the EDIT
TYPE of the sysin card.
//JOBNAME JOB (2404),TEST,MSGLEVEL=(1,1),CLASS=K,MSGCLASS=X,
// NOTIFY=&SYSUID
//STEP0001 EXEC PGM=IEBEDIT
//SYSUT1 DD DISP=SHR,DSN=TEST.JCL(MEMBER)
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD DATA
EDIT TYPE=INCLUDE,STEPNAME=(S1,S5,S8,S9,S10)
Back to top
shanthikiran New User Joined: 31 May 2005Posts: 7 Location: India
//EDIT3 JOB ...
//STEP1 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=A
//SYSUT1 DD DSNAME=INSET,UNIT=disk,DISP=(OLD,KEEP),
// VOLUME=SER=111111
//SYSUT2 DD DSNAME=OUTTAPE,UNIT=tape,LABEL=(,NL),
// DCB=(DEN=2,RECFM=FB,LRECL=80,BLKSIZE=8160),
// DISP=(,KEEP)
//SYSIN DD *
EDIT START=JOBB,TYPE=INCLUDE,STEPNAME=(STEP1, STEP5, STEP8, STEP9, STEP10)
this ill execute STEP1, STEP5, STEP8, STEP9, STEP10 these steps only
Regards
Shanthi kiran
Back to top
ksivapradeep New User Joined: 30 Jul 2004Posts: 95
Hi sarath,
Thanks for ur reply, but my doubt is is IEBEDIT utility is compulsory, or we have to write that EDIT TYPE parameter in our own JCL.
please send me reply urgent
here i am sending one example please let me know whether its correct r not
//job card
//step1
//..........
//......
//step2
//..........
//......
//step3
//..........
//......
.
.
.
.
.
.
//step8
//..........
//......
//step9
//..........
//......
//step10
//..........
//......
//sysin dd data
EDIT TYPE=INCLUDE,STEPNAME=(S1,S5,S8,S9,S10)
//
shall i write like this in my own JCL
Back to top
shivashunmugam Muthu Active User Joined: 22 Jul 2005Posts: 114 Location: Chennai
IEBEDIT is must! Its the utility which is performing the requirement wht u r asking for.
Experts
correct me if i am wrong....
Back to top
Please enable JavaScript!