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

which are the parameters mandatory in job card ?

4 Answers   Accenture,


What are steplib and joblib?

0 Answers  


01 A. 10 B pic X(10). move spaces to A. move spaces to B. output in A & B

2 Answers   Perot Systems,


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?

2 Answers  


how can you check if a file is empty using jcl?

0 Answers   IBM,






Explain the function of job statement in jcl?

0 Answers  


Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx

7 Answers  


What are the parameter we cannot use in procedure?

0 Answers  


Can a job have only steplib and no joblib ?

6 Answers  


How to find the length of variable length copybook using fileaid ??

1 Answers   CSC,


What statement marks the end of an in-stream or catalogued procedure?

1 Answers  


What is concatenating?

0 Answers  


Categories