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 jcl in mainframe, and how many types of jcl statements are there for a job?
What are the keywords associated with DCB? How can you specify DCB information? What is the OS precedence for obtaining that DCB information, ie. where does the system look for it first?
List the different components of jcl statement?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
I have 3 duplicate records in a file . I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
How to submit multiple jobs. These jobs are members in PDS. The second job should run if the first job runs successfully and so on.
i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?
do we need to mention the location of catalogued procedure for each it's call in a single job?
What are the parameter in the job card wihtout which job won't run........
Explain in DD statement what is the use of DCB parameter?
What is the meaning of keyword in JCL? What is its opposite?