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
What is the use of disp parameter?
Explain the purpose of dd dummy statement?
which utility is used to sort a file in jcl?
Name the statement which can be used to send data to another mvs jes3 node?
What is the function of the dd dcb keyword?
Explain the job statement in jcl?
Name a few IBM utility programs, and explain its function.
Define concatenating?
I need exexution process for JCL programs
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?
Is it possible to define dd statements as you want?
What is the function of the dd mgmtclas keyword in sms datasets?
In job processing, what happens in conversion stage?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?