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 / harsha
1 Give Restart parameter as 'RESTART=Jobstep.Procstep' on
JOB card. In this case it would be RESTART=P2.S2. Just
after step S2, give NULL statement or COND=(0,LE).
2 User IEBEDIT.
STEPNAME=(P2.S2)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How to do automated restart when a job abend?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
In sms datasets, what is the function of the dd avgrec keyword?
Explain the function of the dd dcb keyword?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
What do you understand by the terms: joblib and steplib?
What are the parameters that are used in creating a gdg?
in ways data can be passed to a COBOL program from JCL?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
how can the same proc be re-used and called by many jobs?
Define concatenating?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
what are the types of abends that occur on job failure? And explain the possible causes of these
How can the submitting users racf authority be overridden in a job stream?