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
The purpose of the COND is to determine whether the step
should be executed or bypassed. If condition specified in
the COND parameter is true,the step is bypassed.
so if we use // COND=(4,LT) .....this step will never excute
use COND=(4,GT)which is correct
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What are s0c1, s0c4, s0c5, s0c7 and socb?
what JCL Procedures?
How is a type of file defined in the jcl that executes the cobol program?
How do you create a temporary dataset?
How do you access an uncatalogued dataset in a jcl?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
Explain the jcl exec statement?
Explain dd statement in jcl?
What is the function of a dd statement?
Name what parameter directs the output of the job log dataset?
when does a dataset go uncataloged?
Can we use DISP=SHR in output file in JCL
a dd statement has 2 types of parameters. Name them?
What are hierarchy levels in jcl?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?