Suppose there r total 10 steps. Out of which i want to
execute only the 7th step. How can i do that....????

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i want to store 20 digits . how will u do it in cobol ?

858


how can the same proc be re-used and called by many jobs?

905


what is the resolution for sb37 error

7700


Differentiate between the joblib and the steplib statements?

855


What are the 2 types of parameters in dd statement?

642






how to do automated restart when a job abends?

843


how to compare two datasets without using superce because output is limited to 133 bytes

1477


What is the format of comment statement?

662


How can the disposition of sysout datasets be set for an entire jobstream?

834


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

610


How jcl is used for testing batch programs?

717


How does jcl act on code(if you take a cobol program)?

705


What do you understand by the terms: joblib and steplib?

624


what is a jcl?

685


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

1613