what is the COND=EVEN ? Can anyone give me an example to
explain the usage.
Answers were Sorted based on User's Feedback
Answer / dnyandeep
COND=EVEN, when it is coded on JCL step, that step will execute EVEN when previous step executes abnormally. This means even if previous step completes then also this step will execute.
COND=ONLY, when it is coded on JCL step, that step will execute only when previous step executes abnormally.
I think the use of it depends on programmers need and logic.
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / suputhru
COND=EVEN,this step will execute when previous step executes abnormally or normally.
COND=ONLY, this step will execute when only(must)previous steps executes abnormally.
| Is This Answer Correct ? | 2 Yes | 0 No |
Can I share my data with other jobs? How?
What is COND=EVEN ?
What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?
When output dataset space is required, what quantity categories are used?
What is the function of a dd statement?
The maximum number of steps in a job?
what is the job entry system used in your project?
In which table PLAN is registered in ?
can any one plzzzzzz tell the jcl code for creating ps using idcams
//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHICH STEP'S RETURN CODE (STEP1 OR STEP2)? 2.IN ABOVE PROGRAM IF CONDITION SATISFIES IN STEP3 WHICH STEPS WILL EXECUTE?? AND WHY? IF CONDITION IN STEP3 SATISFIES
Hi, all Suppose i have 10 step in a job (s1,s2,s3,...s10) i want to execute step9 first and then step3 and i used the DPRTY for these steps. so what will happen to other steps? Will the get executed or only these two steps get executed?
If a JOBSTEP abends, AND without using COND also, all the subsequent steps execute, then what is the use of using EVEN ? Why do we use EVEN when without it also all the JOBSTEPs execute ?