i have 5 steps to execute in that i want to skip 3nd step
and start execute from forth step how can u do this.
Answers were Sorted based on User's Feedback
Answer / y@$w@nth
I think u want to execute only 1,2,4,5 steps...for this the
solution is
//userid01 JOB 'sample','test',class=a,restart=step3
//step1 exec pgm=prog1
//step2 exec pgm=prog2
//step3 exec pgm=prog3,cond=(0,LE,step2)
//step4 exec pgm=prog4
//step5 exec pgm=prog5
//
So in the above case step3 won't execute only 1,2,4,5 steps
will execute.
If ur question is that u want to restart from step4 that
means u want to execute only 4,5 steps then we can go for
restart parameter at job card level..
//userid01 JOB 'sample','test',class=a,restart=step3
//step1 exec pgm=prog1
//step2 exec pgm=prog2
//step3 exec pgm=prog3,cond=(0,LE,step2)
//step4 exec pgm=prog4
//step5 exec pgm=prog5
//
Cheers....
Y@$w@nth
Is This Answer Correct ? | 12 Yes | 4 No |
Answer / karan johar accenture
//step3 exec pgm=p3,cond=(4,GT,0)[0 means rc of step2]
//step4 exec pgm=p4,cond=(4,LE)
Is This Answer Correct ? | 6 Yes | 3 No |
Answer / girish kumar
By using IEBEDIT we can do it
sysin dd *
edit type=exclude,stepname=(step3)
Is This Answer Correct ? | 6 Yes | 5 No |
Answer / sachin
put cond=(o,LE) in step3
and in step4 keep cond =even
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mohan.chepuri
step3 use cond=(00,le) job wil be bypass in this case
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vinay sonar
put always true condition using cond parameter in step
eg //STEP2 DD PGM=IEBGENER,COND=(0,LT)
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / krishna chaitanya
at jobcard cond(o,gt)
and then at step 3 cond(0,le)
and at step 4 (0,gt)
or
simply give restart step4
Is This Answer Correct ? | 1 Yes | 2 No |
What is MOD and when would you use it?
What is RESTART? How is it invoked?
What is dummy parameter in JCL??
Explain about REXX
what is force complete
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
How would I code JCL to copy a gdg data set G001v00 and create a gdg Data set G001v01
The maximum number of in-stream procedure you can code in any JCL is ?
wht is the d/f between positional parameter n keyword parameter ?
i want to see the jobs in skeleton queue in diff region. (eg. 7 regions are running means , i want to see all the jobs in 7 regions which are in skel queue using 1 command)
What is the maximum length of a single line of jcl?
How to point my proc to production dataset always though i keep jcllib order=development.dataset? Is it possible?