How to execute step2,step1, step3 if step1,2,3 are in order
Answers were Sorted based on User's Feedback
Answer / r
using IEBEDIT utility, in Job instream card,
//step001 exec pgm=iebedit
//dd1 dd dsn=<job-name>,disp=shr
//dd2 dd dsn=(*,intrdr)
//sysin dd *
Edit type=include, member=(step2,step1,step3)
//
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / venkatesh
BY USING THE CONDITON IN STEP1
STEP1 EXEC PGM=(SOMEPROGRAM),COND=(0,LE)
SURE IT DEFINITELY WORKS 100%
2
1
3
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / amy
use DPRTY...
//step001 exec=pgm1,dprty=2
//step002 exec=pgm1,dprty=3
//step003 exec=pgm1,dprty=1
higher the dprty ,higher in execution...
so first step002,second step001 and in last step003 wil be
executed
Is This Answer Correct ? | 3 Yes | 3 No |
Answer / shivanadri naveen kumar
I dont know the currect answer but based on my knowledge and
experience i think it is posible by using the "DPRTY"
parameter in EXEC statement in each and every statement means
we set the DPRTY=3 for step 2,DPRTY=2 for step 1,DPRTY=1 for
step 3.
Is This Answer Correct ? | 3 Yes | 4 No |
Answer / tabbu
Then jobcard using restat parameter .given
restart=st.step2.then the execution starts in step2 and
another steps automatically executed
Is This Answer Correct ? | 0 Yes | 11 No |
Answer / nag ganesh
in job card if we specify the restart parameter then step2
is execute.
then step1,3 can also executed automatically.
Is This Answer Correct ? | 3 Yes | 15 No |
When cursor is not closed what is the error?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
what is “Cond= even” and “Cond=only”?
FOR a GDG, the book by 'SABA ZAMEER' says 'We can NOT ALTER the LIMIT parameter after it is defined'. (p-211). But many persons have written that it can be changed, which one is true ?
How to get the last but one duplicate record of the file using Sort?
can we have more than one job in a single job card that is we are specifying only one 'job' statement in the jcl.
Suppose I have Five Steps in PROC In this Case I want to Execute third Step in PROC using Main JCL don't use any COND Explain with Coding Thanks & Regards SHREE
Describe the various parameters utilized in the creation of a gdg?
What are the parameter in the job card wihtout which job won't run........
Can we Execute a job without specifying Job Name in the Job Card?
Can a PROC CALL another PROC ? (in both Instream and Cataloged cases) ?
GDG Create syntax ?