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


Please Help Members By Posting Answers For Below Questions

When space is allocated for an output dataset, what units can be used?

751


What is the syntax of JCL statement?

697


Can I share my data with other jobs? How?

670


What is the maximum length of a single line of jcl?

829


What is jcl in mainframe?

690






how you can direct the data to spool using SYSOUT option?

930


what JCL Procedures?

701


How to run cobol program using jcl?

652


How to execute 2nd and 4th steps among 5 steps in jcl proc?

750


State the uses of syspring, sysin, sort fields, sum fields and dummy.

654


How jcl work to handle various input output file operations?

659


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?

7606


Explain how can return codes be tested before execution of a job step?

832


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

612


In job processing, what happens in execution stage?

698