i have 10steps and i want run step3 and based on step3 i want execute step7,8,9,10?in jcl



i have 10steps and i want run step3 and based on step3 i want execute step7,8,9,10?in jcl..

Answer / way4dinesh

STEP03 RC is 0
STEP7, EXEC, COND=(0,LT,STEP03)
STEP8, EXEC, COND=(0,LT,STEP03)
STEP9, EXEC, COND=(0,LT,STEP03)
STEP10, EXEC, COND=(0,LT,STEP03)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More JCL Interview Questions

How do you restart a PROC from a particular step?

5 Answers  


what will be the error code if duplicate key of VSAM file is found?

1 Answers   HSBC, Kings,


What are three major types of JCL statements? What are their functions?

1 Answers  


How to use COND Parameter in jcl

4 Answers   NIIT, Wipro,


A job has 90 steps i want to execute only step7 and step15

3 Answers   Cognizant,






how to convert a file form fixed Length to variable length?

2 Answers   Syntel,


Hi, I have a requirement File A : I have 6 records out of which 4 are same. File B: I have 8 records out of 6 records are same. The 4 records in FILEA and 6 records in FILE B are same. If we substract we will get two records, I need these two records in output file This is because to remove the duplicates from the database. Through easytrieve we can compare but for that there should not duplicates, but in my file I have duplicates. Thanks in advance!!

2 Answers  


Can we use DISP=SHR in output file in JCL

0 Answers  


What is the meaning of the EXEC statement keyword, COND? What is its syntax?

2 Answers  


I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.

2 Answers   Syntel,


Hi Guyz, My requirement is to empty out a PS file but not to delete. How would I do that. Is there any Utility. If any other way, plz answer. Thanks.

9 Answers   iGate, Lehman Brothers,


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

0 Answers  


Categories