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

Answers were Sorted based on User's Feedback



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

Answer / r

//STEP001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXX.GENERAL.STUDY (TEST001), DISP=SHR
//SYSUT2 DD SYSOUT= (A,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE, STEPNAME=(STEP2,STEP1,STEP3)
/*

in SYSUT1, we need to mentioned the job name , which having
these 3 steps.

Is This Answer Correct ?    5 Yes 0 No

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

Answer / maruthi

PGM=IEBEDIT
DDNAME DD DSN=(DATA SET ALONG WITH PDS MEMBER(where we write
all the steps)
SYSOUT DD (*,INTRDR)
SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP2,STEP1,STEP3)
/*
//

Is This Answer Correct ?    4 Yes 0 No

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

Answer / sandy

We can execute step3, 1, 2 in order by using the DPRTY.
By setting the execution priority of setplib we can achieve
this.

Is This Answer Correct ?    1 Yes 0 No

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

Answer / nand

This cannot be achieved and cannot be run in that order.

Is This Answer Correct ?    0 Yes 3 No

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

Answer / narayana

// JOB1 JOB 'H557467j', 'KAVITHA', RESTART = STEP02
//STEP01 ..... COND = (0,EQ,STEP03)
//STEP02 ........ COND = (0,EQ,STEP01)

//STEP03 ....

i think it works then
else use iebedit utility.

Is This Answer Correct ?    0 Yes 3 No

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

Answer / kavithab

This is just a try... let me know the correct answer

// JOB1 JOB 'H557467j', 'KAVITHA', RESTART = STEP02
//STEP01 ..... COND = (0,EQ,STEP02)
//STEP02 ........
//STEP03 .... COND = (0,EQ,STEP01)

Is This Answer Correct ?    4 Yes 14 No

Post New Answer

More JCL Interview Questions

Explain the function of //jcllib statement?

0 Answers  


What is 'S0C7' abend?

9 Answers  


i have a base gdg consisting of 12 versions like jan to dec. i need to concatante this gdg to another gdg which have version 1 or to the base gdg itself can anyone give me the code pls ?

4 Answers   IBM,


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

0 Answers  


There is one QSAM is the VB file. i want to get the first characters in this file and change those characters from'abcd' to '1234' and creat a vasm file to put '1234' in it. how to do in only JCL. if it not QSAM, it's VASM and VB. how to do it.

1 Answers   IBM,






Can we browse or edit the GDG dataset if it is a tape entry?

4 Answers  


I had 100 steps in jcl i want to execute first 10 steps only?

6 Answers   IBM,


which parameter is use to declare the name of dataset in dd statement?

0 Answers   IBM,


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

10 Answers   IBM,


We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?

2 Answers   CTS, IBM,


Is it possible to left uncode disp? If yes, how?

0 Answers  


What is QSAM error usually when it is occurs?

1 Answers  


Categories