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 / vijay sankar

sorry...i mentioned wrongly

if the COND parameter is true,the step is bypassed.

so if the previous steps having 0 or 4 , then we use //
COND=(4,LT) .....this step will excute.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is multithreading in jcl?

952


Is their any set of rules for dd? Explain.

672


How to pass the parameter in parm using linkage section ? (syntax)?

659


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

657


How does jcl specify the job to the operating system?

763






What is the function of a dd statement?

717


which utility is used a dummy utility?

807


How do you access an uncatalogued dataset in a jcl?

737


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2178


Explain about LMQUERY�give a dialog information about a data set

912


What is one line to pass PARM from JCL to COBOL?

1132


Explain in DD statement what is the use of DCB parameter?

664


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

726


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1633


Must tape dataset definitions include vol=ser specifications?

993