i have a jcl calling proc which has 10 steps, i want to
execute from step5 to step10, where can i code RESTART and
COND parameter?

Answer Posted / rajkanya

The RESTART parameter can be coded at JOB CARD level as:
RESTART=PROCNAME.STEPNAME ( in this case STEP5 )
and the COND parameter can be coded at both JOB and STEP
level. At STEP5, as:
//STEP5 EXEC PGM=.....,COND=EVEN
COND=ONLY it allows step execution if any prior step is
ABENDED
COND=EVEN it allows step execution even if the prior step
is ABENDED

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

1062


What is NOTCAT ?

1030


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

1204


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

916


how to run batch program without jcl?

10671


How jcl is used for testing batch programs?

949


how do you code a null statement?

1008


Explain the purpose of dd dummy statement?

890


What is one line to pass PARM from JCL to COBOL?

4662


What is condition checking in jcl? Is this possible?

831


which utility is used to sort a file in jcl?

963


Name the parameters which can be used to limit the number of records written to a sysout dataset?

865


what is use of dcb parameter in dd statement?

1003


Explain how can the submitting users racf authority be overridden in a job stream?

855


Explain dd statement in jcl?

842