Hi,
Please clear me
when COND=ONLY and COND=EVEN. Explain me with example.
Answers were Sorted based on User's Feedback
Answer / balasukumar
COND=ONLY IF YOU MENTIONED THIS OPTION IN A STEP,THAT
PARTICULAR STEP WILL EXECUTE ONLY THE PRIOR STEP IS ABENDED.
COND=EVEN MEANS IF THE PREVIOUS STEP EXECUTED SUCESSFULLY
OR NOT THAT PARTICULAR STEP IS EXECUTED SUCESSFULLY.
| Is This Answer Correct ? | 13 Yes | 1 No |
COND=ONLY
if you mentioned this option in a step, that particular step will execute ONLY when there is an ABEND.
COND=EVEN
this particular step will execute either ABEND or not.
| Is This Answer Correct ? | 8 Yes | 4 No |
1.How to check for the errors using TYPRUN=SCAN?What will be the output if we give TYPRUN=SCAN?
How to send different PARM values based on the any condition to the program in a JCL? For example :- If the time is before 12:00 pm, I want to send "A" to some program and if it past 12:00 pm , I want to send "B" as a PARM value to that program. How to do it thur JCL only?
what is force complete
If the COND parameter is specified in both the JOB and EXEC statements, which one will take precedence? If JOB takes priority and if all the conditions evaluate to false, then will the conditions on the EXEC step be evaluated next?
How to pass the temp dataset form one JOB step to another?
I have a jcl which is using 2 data sets i want to override those data sets. how can i override the files within the JCL. Give me the syntax. Make sure that it is not calling any Proc.
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
Are there any set of rules for the names of the steps used in a job?
Explain the function of dd disp parameter?
When output dataset space is required, what quantity categories are used?
How many instream we can write in single jcl?
What do you know about jcl?