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
What is the purpose of disp parameter?
What is the maximum length of a single line of jcl?
Describe the various parameters utilized in the creation of a gdg?
Is automatic restart possible in jcl?
what JCL Procedures?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
How is a type of file defined in the jcl that executes the cobol program?
What is one line to pass PARM from JCL to COBOL?
How does jcl specify the job to the operating system?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
Is it possible to code instream data in a PROC?
What is the function of the dd avgrec keyword in sms datasets?
Which dd parameters are required?