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
i want to store 20 digits . how will u do it in cobol ?
Is condition checking possible in jcl? If yes, how?
what is use of space parameter in dd statement?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
What is the significance of addrspc parameter in the exec statement?
Explain the purpose of dd dummy statement?
How do you overcome this limitation ?
Brief description of inline procedure of jcl.
List in order the hierarchical levels of jcl?
Explain the function of job statement in jcl?
What is the function of the dd dcb keyword?
What is the function of job statement in jcl?
Explain in DD statement what is the use of DCB parameter?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
how you can direct the data to spool using SYSOUT option?