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

01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable

1 Answers  


how can the same proc be re-used and called by many jobs?

0 Answers   IBM,


what do you mean By spooling? Expand SPOOL?

4 Answers  


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

0 Answers  


1) max no of steps with jcl job can execute 2) how many extentions r possible in sequencial files with job 3) what is set parameter will do 4)how to get syntax errors without sub 5) what is differ between error and abend 6) hw mvs knows who submitted the job and whoom it has to forward 7) what are the positinal parameters of data descripter

1 Answers   L&T,






what is a steplib

4 Answers   CGI,


how can i code cond parameter in procedures ? i have a jclk calling a proc which has 10 steps i want to execute from step 5 to step 10 where can i code restrat parameter or cond parameter for ths

4 Answers   IBM,


is there any possibilities for sumbitting more than one job in single jcl? if yes...based on which thing they will execute..(priority,class,time,written order..?)

3 Answers   HSBC,


What is COND=EVEN ?

9 Answers   IBM,


what is the use of IEBGENER utility?

0 Answers  


Explain about REXX

1 Answers  


In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?

4 Answers  






Categories