I have 20 steps in a job... step01, 02....step17...step20.
For some reason I want to execute step17 only if the return
code for all the previous steps are less than or equal to 4.
otherwise if return code for any of the previous 16 steps
is greater than 4, then step17 should be bypassed. How do I
do that ?? how and in which step should i formulate COND
parameter
Answer Posted / ssssss
//STEP17 EXEC pgm=aaaaa,
// COND=(4,LT)
this will execute only the step017. If the return code is
Zero for the previous step then 4 is not less than zero so
condition fails so it will execute this step
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
In sms datasets, what is the function of the dd mgmtclas keyword?
What is the function of dd disp parameter?
What are steplib and joblib?
Is their any limit for data sets?
What is the function of the dd mgmtclas keyword in sms datasets?
What is timing concept in mainframe?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
Is acct parameter mandatory?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
In job processing, what happens in execution stage?
How can unused space allocation be returned to the system when a dataset is closed?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
What is notcat 2 - gs?