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
Is acct parameter mandatory?
What is one line to pass PARM from JCL to COBOL?
How can a jobs execution priority be modified?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
how do you access an uncataloged dataset in a jcl?
Name the statement which can be used to send data to another mvs jes3 node?
Explain how can a jobs execution priority be modified?
In job processing, what happens in conversion stage?
How can values be passed from the job stream to an executable program?
What is the function of dd disp parameter?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
A dd statement consists of 4 fields. Name them?
What is the use of symbol // in jcl?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
how you will the direct the data to spool using sysout option?