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 the general use of PARM? Give an explanation about the system defined parameters that could be passed through this PARM like XREF,LIST,LET,APOST,RENT etc..
hi in one of the interview one asked me how to submit a job from cobol?as well as how to submit a jcl from CICS? can u pls any one tell me..
How do you check the syntax of a JCL without running it?
Explain how can a jobs execution priority be modified?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.
Can we DELETE all the Generations of a GDG at once, WITHOUT deleting the GDG itself ?
what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
Explain about LMGET�read a logical record from a data set
i have 10 steps in my jcl. -->if i want to execute my program from 5th step what i have to do? don't give //* in ur previous steps --> if i want to execute my program from 1to 5 steps only what i have to do?
in a series of 10 steps, i need to run only 1,3,5,7 & 9th steps only. how do u code?
In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute from 7th to 10th step. What is the solution for this ?