My JCL has 4 steps that execute PROC’s P1, P2, P3 and P4 as
shown below
//P1 EXEC PROC=P1
//P2 EXEC PROC=P2
//P3 EXEC PROC=P3
//P4 EXEC PROC=P4
There are four steps S1, S2, S3 and S4 in each PROC’s (i.e.
P1, P2, P3 and P4)
I want to execute only step S2 of PROC P2 and no other
steps or PROC’s. How do you achieve this?
Answer Posted / ajay kumar ande
job001 job (a/c info),"ajay'...... ,restart=procnm.stepnm
//P1 EXEC PROC=P1
activity
dd
//P2 EXEC PROC=P2
activity
//P3 EXEC PROC=P3
activity
dd
//P4 EXEC PROC=P4
activity
dd
procnm exec proc,
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
What is Cataloged Procedures?
How to submit a jcl from cics?
Can we call instream to catalog and catalog to instream?
Explain how can a jobs execution priority be modified?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
How can a fb file convert to vb file using sort program?
how to run batch program without jcl?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
what is the purpose of coding notify parameter in job statement?
how you can access an uncataloged dataset in a JCL?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
Explain dd statement in jcl?
what operation is performed by job statement?
How jcl work to handle various input output file operations?