Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?

1 Answers  


We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.

6 Answers  


I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.

3 Answers   Wipro,


which statement is used to end the in-stream procedure in a jcl?

1 Answers   IBM,


What is the function of dd disp parameter?

0 Answers  


Where & How Do You Code Identifier In Jcl?

0 Answers   IBM,


Name what parameter directs the output of the job log dataset?

0 Answers  


Explain the jcl exec statement?

0 Answers  


How to execute 300 steps in a Job?

15 Answers   Accenture, Zensar,


What is the difference between catalogue procedure and In-Stream procedure?

2 Answers  


What are the common keyword parameters in both job and exec statements

4 Answers   Cap Gemini,


//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHICH STEP'S RETURN CODE (STEP1 OR STEP2)? 2.IN ABOVE PROGRAM IF CONDITION SATISFIES IN STEP3 WHICH STEPS WILL EXECUTE?? AND WHY? IF CONDITION IN STEP3 SATISFIES

5 Answers   IBM,


Categories