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

Explain how can a stopped job be started again?

636


How can a fb file convert to vb file using sort program?

807


What is the use of symbol // in jcl?

925


what is DSN in JCL and what are the parameters to declare the DSN?

718


what is DD statement is used in JCL?

681






Explain how can an in-stream dataset be terminated?

701


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

636


What is the function of a dd statement?

709


Is there any command to check wether the ps file is in sorted order?

2430


What is the significance of addrspc parameter in exec statement?

730


What are the 4 fields in dd statement?

744


How to run cobol program using jcl?

650


What is NOTCAT ?

740


What are the parameter we cannot use in procedure?

640


what is use of dcb parameter in dd statement?

775