In my job I have 6 steps. Step01,02,03...step06.
after executing step02 i want to skip step03 and want to
execute step04. and once step04 is done then I want to go
back and execute step03. once step03 is completed I want
execute step05, 06 and so on... can any one tell me how do
i do that???
Answer Posted / pradeep
See below the exact code for your requirement: Here TEST001
contains your actual JCL to be executed
//Job Card
//STEP001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXX.GENERAL.STUDY(TEST001),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP01,STEP02,STEP04)
/*
//STEP002 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXX.GENERAL.STUDY(TEST001),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP03,STEP05,STEP06)
/*
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
What parameter directs the output of the job log dataset?
How to run cobol program using jcl?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
Matching Logic in Jcl not in cobol.Could any one please answer this question
What is the purpose of dd dummy statement?
Explain the jcl exec statement?
Explain the function of the dd dcb keyword?
In sms datasets, what is the function of the dd avgrec keyword?
What is the significance of addrspc parameter in exec statement?
what happens in conversion stage in job processing?
Explain the function of //cntl statement?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
Is automatic restart possible in jcl? If yes, how?
Where & How Do You Code Identifier In Jcl?