Suppose there r total 10 steps. Out of which i want to
execute only the 7th step. How can i do that....????
Answers were Sorted based on User's Feedback
Answer / vatsa
In the job card mention the restart step name as
//jobname JOB (1234),class=a,msgclass=x,restart=step7
// notify=&sysuid.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / mithun suresh
Give COND=(0,LE) in the jobcard. By this only the 7th step
will be executed. No need to change any other statements in
JCL.
//jobname JOB (abcd),CLASS=B,MSGCLASS=J,
// RESTART=STEP7,COND=(0,LE)
| Is This Answer Correct ? | 6 Yes | 8 No |
Answer / shailendra
in job statement put restart=7th step name
and
in 8, 9,10th step cond=(0,GE)
else
in job statement put restart=7th step name
comment for remaining step
i think both will work
| Is This Answer Correct ? | 2 Yes | 6 No |
what is a steplib
Which statement is used to identify the private libraries in job?
which parameter is use to declare the name of dataset in dd statement?
What is S322 abend ?
There are 2 steps in a JCL. If the first step abends due to system or user abend and the second step has COND specified as EVEN or ONLY, will this step still be executed inspite of the abend in the previous step?
Describe the EXEC statement, its meaning, syntax and keywords?
how to run batch program without jcl?
How can an in-stream dataset be terminated?
What is QSAM error usually when it is occurs?
Can we call instream to catalog and catalog to instream?
Is it possible to code instream data in a PROC?
Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx