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


Please Help Members By Posting Answers For Below Questions

Does jcl support automatic restart?

761


What are the difference between jcl and jes?

1050


Define concatenating?

667


What are the jcl procedures?

645


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1347






How does the jcl specify the job to os?

694


What are s0c1, s0c4, s0c5, s0c7 and socb?

703


what are the various stages of job processing?

738


which parameter is used to check the syntax of a jcl without executing it?

798


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?

1616


What is Cataloged Procedures?

712


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

1039


Can I send output of job to my remote device careerride123?

666


What is timing concept in mainframe?

1662


what happens in conversion stage in job processing?

730