There are 2PROCS in a JCL. I want following conditions to
be carried out
1) 1st PROC should be executed as such
In second PROC
2) First 4steps should not be executed
3) 5th step should not be executed
4) 6th and 7th step should be executed
The change should be done only in the JCL and PROC should
be untouched ?




Answers were Sorted based on User's Feedback



Answer / cr.arulmozhi

Using a condition Parameter like this in the JCL step
executing the second PROC might solve the problem....

// cond.step1=(0,le), cond.step2=(0,le), cond.step3=
(0,le)...

but I want to know if there is any other way to do it.
Could anyone help me on the same ?

Is This Answer Correct ?    5 Yes 2 No

Answer / sahana

for 1st one give COND=ONLY(it will execute 1st step if n only if second step executed)
2) COND=EVEN
3)COND=EVEN
4)COND=EVEN

Is This Answer Correct ?    0 Yes 0 No

Answer / prem...

Even IEDEDIT utility can be used and other way is restart
from the particular step and use a cond parmeter when you
want to skip any step in the job flow(0,le) and to skip the
last steps null(//) can be used.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer



More JCL Interview Questions

How can we increment subscript and index?

1 Answers   CTS,


AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I GET THE PROGRAM FOR THIS

3 Answers  


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

3 Answers  


I have four steps in jcl they are STEP1,STEP2,STEP3 and STEP4. Can it possible to run the reverse order like step4 first then step3,step2,step1?

3 Answers   HCL, Broadridge,


what is JCLLIB and PROCLIB in jcl and their syntax

3 Answers   IBM,






which are the parameters mandatory in job card ?

3 Answers   Accenture,


How would I code JCL to copy a gdg data set G001v00 and create a gdg Data set G001v01

2 Answers  


TIME parameter in JOB statement or EXEC statement specifies What type of time (CPU time or execution time)?

5 Answers   CTS,


diff bw vsam and normal flat file?

2 Answers   CGI,


How to use COND Parameter in jcl

4 Answers   NIIT, Wipro,


ihave ten flatfile in that iwant to concatinate all the files except file 5,6 into output file by uing jcl? how to do this? give me detail yntax for tis?

4 Answers   IBM,


What happens if both JOBLIB and STEPLIB is specified ?

8 Answers  






Categories