i have 10 steps in jcl program but i have to exicute only
2,4,6,8th and 10th ?how it's possible?

Answer Posted / raghavendra

Use Restart=step2 command in job card, then use COND=(0.LE) in steps 3,5,7,9 to skip (this cond parameter will the skip the steps only if previous steps ended with CC=0)

//Jobid job (t,aa,sys),'acct',class= , msgclass= ,region=0M,restart = step2
//*
//step1 exec
//step2 exec pgm=xxx
//step3 exec pgm=xxx,cond=(0,le)
//step4 exec
//step5 exec pgm=xxx,cond=(0,le)
//step6 exec
//step7 exec pgm=xxx,cond=(0,le)
//step8 exec
//step9 exec pgm=xxx,cond=(0,le)
//step10 exec

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A dd statement consists of 4 fields. Name them?

942


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

873


What is NOTCAT ?

757


what is the purpose of coding class parameter in job statement?

736


What are steplib and joblib?

731






Why block size is multiple of lrecl in jcl?

921


what is the resolution for sb37 error

7738


How do you access an uncatalogued dataset in a jcl?

738


what is use of dcb parameter in dd statement?

789


Is automatic restart possible in jcl?

753


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

826


How jcl work to handle various input output file operations?

664


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

637


Explain dfsort utility?

685


What is concatenating?

647