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 / sankarikumar
step 17 wil execute only if cond is false so u can it as
//step17 .... cond=(4,gt) in 17th step
suppose if u give cond=(4,lt) then step 17 will not
execute it will just by pass if cond satisfies((i.e.)4,lt)
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
When space is allocated for an output dataset, what units can be used?
What is the syntax of JCL statement?
Can I share my data with other jobs? How?
What is the maximum length of a single line of jcl?
What is jcl in mainframe?
how you can direct the data to spool using SYSOUT option?
what JCL Procedures?
How to run cobol program using jcl?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
How jcl work to handle various input output file operations?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
Explain how can return codes be tested before execution of a job step?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
In job processing, what happens in execution stage?