I have 5 steps in my jcl ,I need to execute first three
steps and then 2nd step again ,4th and 5th steps if rc of
2nd step is zero

Answer Posted / ajay digule

STEP01
STEP02 RC=0
STEP03 COND(4,LT,STEP02) CONDITION IS FALSE HENCE, STEP 3 WILL BE EXECUTED.
ON STEP04 AND STEP05 NO NEED TO MENTION CON CODE AS THEY WILL EXECUTE NORMALLY.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

784


How do you create a temporary dataset?

645


Explain how can an in-stream dataset be terminated?

682


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9197


if the submitter of a job wants to inform another user about the job completion, how can it be done?

737






Is it possible to code instream data in a PROC?

738


how you can access an uncataloged dataset in a JCL?

637


Explain the job statement in jcl?

631


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

661


what is use of disp parameter in dd statement?

642


what happens in execution stage in job processing?

647


what is SOC4 error?

724


Explain how can the disposition of sysout datasets be set for an entire jobstream?

622


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5049


what is the purpose of coding class parameter in job statement?

706