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






I have 5 steps in my jcl ,I need to execute first three steps and then 2nd step again ,4th and 5th..

Answer / 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




More JCL Interview Questions

i have a jcl containing header body and trailer .in header i have viswa body 2 6 1 9 7 trailer reddy .now i need to sort only body in either asecending or descending order how can i do it

1 Answers   L&T,


which are the parameters mandatory in job card ?

3 Answers   Accenture,


How can the attributes of one sms dataset be copied to another dataset?

0 Answers  


Is there GOTO and SWITCH-CASE available in JCL ? Is IF-THEN-ELSE available in JCL also just like it is available for VSAM datasets under Model Commands category ?

1 Answers   IBM,


Is stepname is a MUST and should be unique also for each JOBSTEP ? or system can supply the stepname for a step which is not given a name by the programmer ?

6 Answers   IBM,






Explain about File Tailoring

1 Answers  


I have 3 duplicate records in a file . I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?

3 Answers   CTS, DELL,


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

0 Answers  


Hi, can any one tell about " How do u eliminate the duplicates "

2 Answers   Cap Gemini,


In DCB, what is LRECL,BLKSIZE,DSORG

1 Answers   TCS,


what is the resolution for sb37 error

2 Answers   TCS,


How to delete AIX ? i) IEBGENER ii) IDCAMS iii) PURGE iv) All of the above

3 Answers   HSBC,






Categories