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
how can the same proc be re-used and called by many jobs?
what are JCLLIB and STEPLIB in JCL?
how to do automated restart when a job abends?
Can I share my data with other jobs? How?
Explain about LMQUERY�give a dialog information about a data set
How to submit a jcl from cics?
define cond parameter in jcl?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
What is the function of the dd dcb keyword?
What is the function of dd disp parameter?
Name a few IBM utility programs, and explain its function.
Define concatenating?
whats the diff bw the evaluate also and and?
i want to store 20 digits . how will u do it in cobol ?