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
What are the 2 types of parameters in dd statement?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
How to run cobol program using jcl?
Can I send output of job to my remote device careerride123?
Define concatenating?
Are there any set of rules for the names of the steps used in a job?
Brief description of inline procedure of jcl.
How to execute 2nd and 4th steps among 5 steps in jcl proc?
define cond parameter in jcl?
Does jcl support automatic restart?
How to do automated restart when a job abend?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
how JCL works?