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

What is TimeStamp, What is TimeStamp error and What is the Abend Code for TimeStamp Error ?

4 Answers   IBM,


What is the function of the dd dcb keyword?

0 Answers  


When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?

1 Answers   IBM,


How to point my proc to production dataset always though i keep jcllib order=development.dataset? Is it possible?

3 Answers  


Can you execute a PROC from another PROC?

8 Answers   Keane India Ltd,






i have step1,step2,step3 from where can i start coding cond parameter ?

2 Answers   Verizon,


How Can we see all generations of a GDG ?

3 Answers   Polaris,


How much is memory space involved, when we code BLOCKSIZE,TRK & CYL ?

1 Answers  


Suppose I have five jobs to do. But I want to hold one?

0 Answers  


What is the difference between IEBGENER, IEBCOPY and REPRO in IDCAMS utility?

8 Answers   Accenture, TCS,


Why do you use a control card?

3 Answers   IBM, iNautix,


Can a job have only steplib and no joblib ?

6 Answers  


Categories