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 |
What is a GDG
Whats error code s222?
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?
In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.
1) Is CLASS used for assigning Priority (as we say a job having class '6' will run before the job having class '5'? then what is the difference between CLASS and PRTY ? 2) In a same JCL, 2 JOB statements with different Classes and NO PRTY are submitted ? which will run first ? & with different classes and different PRTY also, which will run first now ?
What is MOD and when would you use it?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
How can i execute 5th step without executing first 4 steps?
What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Procs ?
how to eliminate the duplicates in sorting
the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.
What is JOBLIB ?