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 does SYSIN * indicate?
How to search strings in multiple dataset with conditions 'string1 & string2'?
how to see the latest generation in gdg?
For how long a job can be executed continuously in a mainframe ?
What is GDG and what is the maximum limit of versions that can be created?
How to execute only th 15th step of JCL consisting of 50 steps?
What is the meaning of keyword in JCL? What is its opposite?
TIME parameter in JOB statement or EXEC statement specifies What type of time (CPU time or execution time)?
if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 error.
Is their any limit for data sets?
how to count the number of members in pds?
what is “Cond= even” and “Cond=only”?