A PROC has five steps. Step 3 has a condition code. How can
you override/nullify this condition code?
Answers were Sorted based on User's Feedback
Answer / charu
The condition code can be nullified by using the following
command.
//STEP001 EXEC procname, COND.stepname=(0,LE)
| Is This Answer Correct ? | 40 Yes | 9 No |
Answer / guest
Provide the override on the EXEC stmt in the JCL as follows:
//STEP001 EXEC procname, COND.stepname=value
All parameters on an EXEC stmt in the proc such as COND,
PARM have to be overridden like this.
| Is This Answer Correct ? | 21 Yes | 12 No |
Answer / sanjayreddyguna
//step1 exec proc=procname,cond.step3=(0,le)
then proc in that step3 cond parameter will overide
| Is This Answer Correct ? | 8 Yes | 3 No |
Answer / abhirup
//STEP01 EXEC PROCNAME, COND.STEPNAME = EVEN
WHERE STEPNAME IS THE PROC STEP.
| Is This Answer Correct ? | 3 Yes | 2 No |
Hi Please try to be to-the-point. 1) How to INCLUDE a JCL segment in a JOB ? (A Small example) 2) What is SPOOL and what is SPOOL FULL ? and how to direct the output of a Jobstep to SPOOL ?
how can i use the parameters decalred in main pgm in sub pgm
How many types we can give input to JCL
Define concatenating?
I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter
Name some of the JCL statements that are not allowed in procs.?
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,
how to set dependancy for jobs?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
We are aware of eliminating the duplicate records from outyput fiel using sort utility. Can we get the duplicate records in to another file in the Same sort utility?
How is the record format of an output dataset specified?
how can you check if a file is empty using jcl?