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
a dd statement has 2 types of parameters. Name them?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
Define concatenating?
What is the function of a dd statement?
Explain how can return codes be tested before execution of a job step?
What is the use of symbol // in jcl?
What does a disposition of (MOD,DELETE,DELETE) mean ?
Name the statement which can be used to send data to another mvs jes3 node?
Is there any command to check wether the ps file is in sorted order?
Can I send output of job to my remote device careerride123?
what sort card you will use to copy the data from one dataset to another dataset?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What is the function of job statement in jcl?
How can the submitting users racf authority be overridden in a job stream?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?