How to execute step2,step5,step7 of a proc of 10 steps?
You are not allowed to change in JCL.
Answer Posted / krish123
we can use COND code in order to execute this. Use condition
code in each step
//JOBNAME JOB ACCT, RESTART=PROCA.STEP2 ---> INORDER TO
EXECUTE THE PROGRAM FROM STEP2
//PROCA EXEC PROCA
//STEP1 EXEC PGM=PROGRAM1
//STEP2 EXEC PGM=PROGRAM2,COND=(0,LT,STEP1)
//STEP3 EXEC PGM=PROGRAM3,COND=(0,GT,STEP2)
//STEP4 EXEC PGM=PROGRAM4,COND=(0,GT,STEP3)
//STEP5 EXEC PGM=PROGRAM5,COND=(0,LT,STEP4)
//STEP6 EXEC PGM=PROGRAM6,COND=(0,GT,STEP4)
//STEP7 EXEC PGM=PROGRAM7,COND=(0,LT,STEP6)
//STEP8 EXEC PGM=PROGRAM8,COND=(0,GT,STEP7)
//STEP9 EXEC PGM=PROGRAM9,COND=(0,GT,STEP8)
//STEP10 EXEC PGM=PROGRAM10,COND=(O,GT,STEP9)
| Is This Answer Correct ? | 11 Yes | 13 No |
Post New Answer View All Answers
Differentiate between addressing mode and run mode.
How do you create a temporary dataset?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
Matching Logic in Jcl not in cobol.Could any one please answer this question
How do you access an uncatalogued dataset in a jcl?
What statement can be used to send data to another mvs jes3 node?
What is timing concept in mainframe?
I need exexution process for JCL programs
How do you overcome this limitation ?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
What dd statement is used to supply the name of a dataset?
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 ?
Explain about ISPF/TSO Commands
Is their any set of rules for dd? Explain.