There are 5 steps in a Job. How to bypass the first step
by making use of only COND Parameter and not using any
Restart and IF/THEN/ELSE parameter?
Answer Posted / ajayre
Guys Sorry to say Option Cond=(O,LE) wont work in this case.
Please find the below .
//X5PAKR5J JOB (X5P,AKR,5,00000),'TEST CONDITION',
//MSGLEVEL=(1,1),CLASS=Z,MSGCLASS=Z,PRTY=04,NOTIFY=&SYSUID
//STEP5 EXEC PGM=IEFBR14,
// COND=only
//SYSPRINT DD SYSOUT=*
//SYSOUT DD *
//STEP6 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//SYSOUT DD *
//STEP7 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//SYSOUT DD *
//STEP8 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//SYSOUT DD *
Result:-
STEP5 - STEP WAS NOT RUN BECAUSE OF COND = ONLY
STEP5 - STEP WAS NOT EXECUTED.
STEP6 - STEP WAS EXECUTED - COND CODE 0000
STEP7 - STEP WAS EXECUTED - COND CODE 0000
STEP8 - STEP WAS EXECUTED - COND CODE 0000
COND=(0,LE) will not work.Please try it .
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Is it possible to define dd statements as you want?
How do you create a temporary dataset?
whats the diff bw the evaluate also and and?
What do you understand by the term job time – out and how can you overcome that?
write a jcl to execute a job by 7:00 am on jan 20,1986?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Is there any command to check wether the ps file is in sorted order?
What statement can be used to send data to another mvs jes3 node?
In job processing, what happens in conversion stage?
What are hierarchy levels in jcl?
Name the statement which can be used to send data to another mvs jes3 node?
What is the significance of addrspc parameter in the exec statement?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
Can we use DISP=SHR in output file in JCL
Can we call instream to catalog and catalog to instream?