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


Please Help Members By Posting Answers For Below Questions

how JCL works?

796


How gdg are concatenated?

672


a dd statement has 2 types of parameters. Name them?

650


Differentiate between the joblib and the steplib statements?

859


What is the syntax of JCL statement?

697






Why include statement is used in a jcl?

691


What are steplib and joblib?

725


What is the difference between run mode and addressing mode?

636


What is jcl in mainframe?

690


Which statement is used to identify the private libraries in job?

678


What is concatenating?

637


What is notcat 2 - gs?

941


what is the purpose of coding class parameter in job statement?

724


Is it possible to left uncode disp?

713


Give the syntax of job specifying jcl statement.

640