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
what operation is performed by job statement?
What are the 4 fields in dd statement?
Explain the jcl exec statement?
How to pass the parameter in parm using linkage section ? (syntax)?
Mention the types of job control statements?
How to submit a jcl from cics?
what is the use of IEBGENER utility?
What is job control language?
what are the types of abends that occur on job failure? And explain the possible causes of these
How to execute 2nd and 4th steps among 5 steps in jcl proc?
what is use of disp parameter in dd statement?
what is DSN in JCL and what are the parameters to declare the DSN?
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
In job processing, what happens in execution stage?
Suppose I have five jobs to do. But I want to hold one?