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 / challa srinivas
Just use restart parameter in job card. as restart=(p4.s2) after this give null statement in the job or in step 3 of proc4 give COND = (0,LE,s2). Please make sure that step 2 should execute successfully else the job will start executing from step3.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Does jcl support automatic restart?
What are the difference between jcl and jes?
Define concatenating?
What are the jcl procedures?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
How does the jcl specify the job to os?
What are s0c1, s0c4, s0c5, s0c7 and socb?
what are the various stages of job processing?
which parameter is used to check the syntax of a jcl without executing it?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
What is Cataloged Procedures?
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
Can I send output of job to my remote device careerride123?
What is timing concept in mainframe?
what happens in conversion stage in job processing?