in my jcl have 20 steps step1,step2,.... step20.and i have to
execute step1,step2,..and skip the step3 and remaing
step4,step5 are execute? i want skip step3 only? what code u
can write?

Answers were Sorted based on User's Feedback



in my jcl have 20 steps step1,step2,.... step20.and i have to execute step1,step2,..and skip the s..

Answer / piyush mani

most easy way to do it is to use "IEBEDIT" UTILITY LIKE BELOW


//JOBCARD
//STEPNAME EXEC PGM=IENEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=FSS345.PIYUSH.JOB1,DISP=SHR
//SYSIN DD *
EDIT START=JOBNAME OF DESIRED JOB, TYPE=EXCLUDE,
STEPNAME=(STEP3)
/*
//


GIVE UR FEEDBACK....

Is This Answer Correct ?    13 Yes 0 No

in my jcl have 20 steps step1,step2,.... step20.and i have to execute step1,step2,..and skip the s..

Answer / rammateti

In Step3 u can write the COND=(0,LE) then that step3 is skip.
or

u can use
//step3 exec pgm=abc,cond=(4095,GT) also work same as above.

By
Prathap

Is This Answer Correct ?    11 Yes 0 No

in my jcl have 20 steps step1,step2,.... step20.and i have to execute step1,step2,..and skip the s..

Answer / rammateti

u can write in step3 cond=(0,LE) then the step3 is skiped

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More JCL Interview Questions

how can the same proc be re-used and called by many jobs?

0 Answers   IBM,


What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?

2 Answers  


Explain about CBL/PROCESS statement syntax

1 Answers  


can we give instream data in procedure

6 Answers   EDS,


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






Explain how can a stopped job be started again?

0 Answers  


Explain the function of a dd statement?

0 Answers  


What is condition checking in jcl? Is this possible?

0 Answers  


In job processing, what happens in conversion stage?

0 Answers  


What u mean by include statement in JCL ?

3 Answers  


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,


I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...

2 Answers   Satyam,


Categories