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

when GDG version number get changed ? bcz always Generations only increasing.

1 Answers   Cap Gemini,


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

1 Answers  


Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00

4 Answers  


I have 10 steps, I want to run STEP1 TO STEP4 then I should not run STEP5 and STEP6. Aganin I want to execute from STEP7 to STEP10. ONLY using CONDITION CODES how can we execute this process? 1. Where we can set cond codes for STEP5 and STEP6? 2. How can we execute remaining steps from STEP7 to STEP10?

2 Answers  


how to identify a vasam dataset by seeing in 3.4(browse)

5 Answers   Cap Gemini,


wht do u mean by inrec and outrec ?

1 Answers   IBM,


Can I copy the FB (fixed Block) record length file to a VB (variable Block)record length file and Vise Versa? If Yes then how ? is that thru one of the JCL utility ?

3 Answers  


wht do u mean by notify parameter, how can u give acess to multiple users ?

4 Answers   L&T,


hi guys what r the diff types of procs in jcl? bye ramya

4 Answers   ACS, Keane India Ltd,


JCL Example: // //RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID //STEP01 EXEC PGM=IEFBR14 // .. .. If this JCL will run or it'll throw the ERROR?

4 Answers   HCL,


How To get the last record in VSAM file in cluster? and How can u get the ksds file records into ur cobol program ? Pls tell me about these two questions.

1 Answers   Cap Gemini,


Can we able insert data into a PS file Using IEBUPDTE utility??? If Yes can anyone describe it please..

1 Answers  


Categories