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=
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)
|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|
Passing a variable parm from JCL to a cobol/db2 program
how to resolve soc-7 ? please tell me
Is Default for MSGCLASS = (1,1) ?
I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?
how to run JCL thru COBOL.
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?
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?
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?
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?
how can we override data definitions in jcl. can any one give detailed example
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 ?
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?