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 / satya sivaji.ch

//step17 exec COND=(4,GT)

This says that if any of the previous steps with return
code of greaterthan 4,then it wil bypass,if it less than
then execute it.

In condition parameter wat ever condition u specified
inside the condition parameter is true,then the step should
be bypassed.

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between JES3 and JES2?

676


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

520


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

671


For what purpose steplib and joblib are used ?

682


Explain how can an in-stream dataset be terminated?

691






How to submit jcl through a cobol program?

673


What is the function of dd disp parameter?

654


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1342


What are the utility programs in jcl?

646


What dd statement is used to supply the name of a dataset?

772


In sms datasets, what is the function of the dd avgrec keyword?

648


Where & How Do You Code Identifier In Jcl?

691


Why include statement is used in a jcl?

687


What are s0c1, s0c4, s0c5, s0c7 and socb?

696


How do you overcome this limitation ?

691