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 |
the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.
how to do automated restart when a job abends?
can we copy a file from fixed block to variable block and vice versa ....asap
There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?
What are the parameters that are used in creating a gdg?
What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?
I have a JCL with 100 steps. I want run the Alternate steps in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this scenario? If It is by Cond Parameter can you provide the Condition code for that?
5 Answers Polaris, Tech Mahindra, UST, Wipro,
What are the 2 types of parameters in dd statement?
Suppose we have 5 steps in a job.No step should be executed After submitting every step in a job
once we submitted the job to the operating system, how can we cancel the job before execution?
Explain the function of the steplib dd statement?
How to ALTER the name of a GDG ?