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



There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be e..

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

There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be e..

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

There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be e..

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

Passing a variable parm from JCL to a cobol/db2 program

1 Answers   IBM,


how to resolve soc-7 ? please tell me

3 Answers   IBM,


Is Default for MSGCLASS = (1,1) ?

2 Answers   IBM,


I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?

16 Answers  


how to run JCL thru COBOL.

1 Answers   Patni,






In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?

4 Answers  


i have 10 steps in my jcl. -->if i want to execute my program from 5th step what i have to do? don't give //* in ur previous steps --> if i want to execute my program from 1to 5 steps only what i have to do?

2 Answers  


with out sorting how to copy records from one file to another file using jcl.Mean I have one input file in which the record are like 1,6,5,4,2,3(for example) and i want to copy to output file from top to bottom(without sorting) like 3,2,4,5,6,1.so I want the JCL for this.cna any one can answers?

1 Answers   TCS,


In jcl i have 255 steps. In 255 step i declared proc. In proc i have 20 steps this job is executable or not? why?

4 Answers  


how can we override data definitions in jcl. can any one give detailed example

3 Answers   TCS,


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 ?

3 Answers   ADP,


There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?

11 Answers   IBM,






Categories