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

Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?  

1 Answers   TCS,


i have 1000 records in input file and i want to sort it and the first 200 records to be placed in output file. how to do that??

14 Answers   L&T,


A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?

5 Answers   IBM, Wipro,


What is the exact difference between PRTY and DPRTY

2 Answers   iGate,


How to fetch even records from one file to another file by using ICETOOL in JCL?

3 Answers  






How would you understand error(execution phase)?

0 Answers  


What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //step#3 exec pgm = hkbc762 iii) //step#3 exec pgr = hkbc672

6 Answers  


Where & How Do You Code Identifier In Jcl?

0 Answers   IBM,


Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???

4 Answers  


what are the statements that are not valid to be included in an include statement?

0 Answers   IBM,


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

0 Answers  


Explain about LMINIT - generate a data ID for a data set

1 Answers  


Categories