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 does a disposition of (MOD,DELETE,DELETE) mean ?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
a dd statement has 2 types of parameters. Name them?
I need exexution process for JCL programs
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Brief description of inline procedure of jcl.
Explain the purpose of dd dummy statement?
Which dd parameters are required?
For what purpose steplib and joblib are used ?
Explain the purpose of the dd keylen parameter?
which utility is used to sort a file in jcl?
Explain the function of a dd statement?
When output dataset space is required, what quantity categories are used?
what operation is performed by job statement?