how to skip the steps in JCl

Answers were Sorted based on User's Feedback



how to skip the steps in JCl ..

Answer / abhijit18in2002

Just use COND(0,LE) at the step u dnt want to execute it
will be excluded

STEP01 EXEC PGM=IEFBR14
STEP02 EXEC PGM=IEFBR14,COND=(0,LE)
STEP03 EXEC PGM=IEFBR14

Is This Answer Correct ?    18 Yes 1 No

how to skip the steps in JCl ..

Answer / chowdary

to skip the steps in jcl we use restart or cond parameter

Is This Answer Correct ?    11 Yes 2 No

Post New Answer

More JCL Interview Questions

What happens if both JOBLIB and STEPLIB is specified ?

8 Answers  


Max. No of DD statements in a job ?

4 Answers   CSI,


What is DATACOM db?

2 Answers  


How to send different PARM values based on the any condition to the program in a JCL? For example :- If the time is before 12:00 pm, I want to send "A" to some program and if it past 12:00 pm , I want to send "B" as a PARM value to that program. How to do it thur JCL only?

0 Answers   UHG,


Name the parameters which can be used to limit the number of records written to a sysout dataset?

0 Answers  






i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?

4 Answers   Infosys,


i created one base gdg with lrecl = 100 , now i need to create versions with different lrecl =150,200 can it be possible to create like tht ?

1 Answers   Patni, Syntel,


What is the use of ikjeft1b utility in jcl?

1 Answers  


My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........

2 Answers  


How can a fb file convert to vb file using sort program?

0 Answers  


explain concatinating datasets?

1 Answers  


How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you

0 Answers  


Categories