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
What do you understand by the term job time – out and how can you overcome that?
how you can access an uncataloged dataset in a JCL?
what is the use of IEBGENER utility?
What statement can be used to send data to another mvs jes3 node?
How can the disposition of sysout datasets be set for an entire jobstream?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
What is the syntax of JCL statement?
Can I share my data with other jobs? How?
which parameter is use to declare the name of dataset in dd statement?
What is Cataloged Procedures?
Explain the function of a dd statement?
what is the purpose of coding class parameter in job statement?
How can an in-stream dataset be terminated?
What are the 2 types of parameters in dd statement?
Can I send output of job to my remote device careerride123?