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 / 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 ?    9 Yes 2 No

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 / 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 5 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

what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

0 Answers  


What are the differences between JES2 & JES3 ?

4 Answers  


Hi, I have 3 files say file A , file B and file C.I want to form an output file in which i will have all the records from file A. Files B and C also may contain records that are present in file A.I want those records also to be included in my output file. for eg: file A contains: 1 2 3 file B contains: 2 4 5 file C contains: 1 3 5 So in my output file should look like: 1 2 3 2 1 3 Can any one help ???.....thanks in advance.

2 Answers  


How to view the hexa decimal value thru file aid if copy book is not present for that particular data

1 Answers  


Must tape dataset definitions include vol=ser specifications?

0 Answers  


What are the keywords associated with DCB? How can you specify DCB information? What is the OS precedence for obtaining that DCB information, ie. where does the system look for it first?

2 Answers  


What does the statements: typrun=scan and typrun=hold do in a JCL statement

2 Answers  


Brief description of inline procedure of jcl.

0 Answers  


Explain the purpose of the dd keylen parameter?

0 Answers  


how can we pass external data to instream procedures

5 Answers   IBM, Infosys, Ocwen,


can we copy a file from fixed block to variable block and vice versa ....asap

1 Answers  


if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario

4 Answers  


Categories