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

What is the function of dd disp parameter?

0 Answers  


In sms datasets, what is the function of the dd mgmtclas keyword?

0 Answers  


When will we need to specify Space parameter ?

3 Answers   Wipro,


Is there any command to check wether the ps file is in sorted order?

0 Answers   IBM,


Do we need to code DCB parameters when using DISP position as MOD?

1 Answers   Accenture,






Can we have a JOBSTEP without any EXEC ?

6 Answers   IBM,


In my JCL 10 Steps Will Be there Now i want to execute step05 And step06. How to Give the Cond?

2 Answers   IBM,


In my job I have 6 steps. Step01,02,03...step06. after executing step02 i want to skip step03 and want to execute step04. and once step04 is done then I want to go back and execute step03. once step03 is completed I want execute step05, 06 and so on... can any one tell me how do i do that???

10 Answers   Perot Systems,


I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.

3 Answers   Wipro,


How to view the hexa decimal value thru file aid if copy book is not present for that particular data

1 Answers  


What is the max blocksize for a Tape file?

2 Answers  


What are three major types of JCL statements? What are their functions?

1 Answers  


Categories