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

i want to avoid the positional parameter how to code it ?

3 Answers   TCS,


what is JCL?

0 Answers  


How to identify in JCL that an input file is empty without reading it?

4 Answers   L&T,


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

0 Answers   IBM,


What are the valid DSORG values ?

3 Answers  






How do you submit a job for execution?

0 Answers  


What is the purpose of disp parameter?

0 Answers  


in ways data can be passed to a COBOL program from JCL?

0 Answers  


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

0 Answers  


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

0 Answers   IBM,


what is inrec fields and outrec fields in sorting

3 Answers   Fidelity,


Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?

3 Answers  


Categories