How to execute step2,step1, step3 if step1,2,3 are in order

Answers were Sorted based on User's Feedback



How to execute step2,step1, step3 if step1,2,3 are in order..

Answer / neha

by using IEBEDIT utility

Is This Answer Correct ?    6 Yes 0 No

How to execute step2,step1, step3 if step1,2,3 are in order..

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

How to execute step2,step1, step3 if step1,2,3 are in order..

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

How to execute step2,step1, step3 if step1,2,3 are in order..

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

How to execute step2,step1, step3 if step1,2,3 are in order..

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

How to execute step2,step1, step3 if step1,2,3 are in order..

Answer / sundar

Not possible

Is This Answer Correct ?    0 Yes 4 No

How to execute step2,step1, step3 if step1,2,3 are in order..

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

How to execute step2,step1, step3 if step1,2,3 are in order..

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

Post New Answer

More JCL Interview Questions

When cursor is not closed what is the error?

3 Answers   IBM,


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?

0 Answers   IBM,


what is “Cond= even” and “Cond=only”?

0 Answers  


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 ?

4 Answers   IBM,


How to get the last but one duplicate record of the file using Sort?

2 Answers   Fidelity,






can we have more than one job in a single job card that is we are specifying only one 'job' statement in the jcl.

7 Answers   Accenture,


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

4 Answers   Merrill Lynch,


Describe the various parameters utilized in the creation of a gdg?

0 Answers  


What are the parameter in the job card wihtout which job won't run........

10 Answers   IBM,


Can we Execute a job without specifying Job Name in the Job Card?

2 Answers  


Can a PROC CALL another PROC ? (in both Instream and Cataloged cases) ?

3 Answers   IBM,


GDG Create syntax ?

4 Answers   Xansa,


Categories