what is the COND=EVEN ? Can anyone give me an example to
explain the usage.

Answers were Sorted based on User's Feedback



what is the COND=EVEN ? Can anyone give me an example to explain the usage...

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

what is the COND=EVEN ? Can anyone give me an example to explain the usage...

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

Post New Answer

More JCL Interview Questions

Passing a variable parm from JCL to a cobol/db2 program

1 Answers   IBM,


I have a Symbolic Parameter which can have a value say 01 or 02 etc. Now consider i have another Symbolic parameters which is used to get 3 digit code of months (JAN, FEB, etc) but for that i need to check the first symbolic parameter's value and provide its corresponding month's name in the second symbolic parameter. Say IF sym1 = 01 then sym2='Jan' ENDIF etc... In JCL, IF condition is used for RC, ABEND purposes of a step etc. When i use Symbolic parameter in IF clause it is showing Error message. Is there a way to get the above result possible in JCL. If you could provide me with an example, i would understand it better.

0 Answers  


how you can direct the data to spool using SYSOUT option?

0 Answers  


What does the TIME parameter signify ? What does TIME=1440 mean ?

6 Answers   Accenture, TCS,


Given a input file with duplicates how to remove the duplicate records from the file using JCL?

6 Answers   CDS, Convergys, TCS,






What is default if we don't specify RD parameter at all ?

1 Answers   IBM,


wt will happen to the step of a job if u code COND=ONLY

5 Answers   ADP,


What is a GDG? How is it referenced? How is it defined? What is a MODELDSCB?

3 Answers  


Explain in DD statement what is the use of DCB parameter?

0 Answers  


How to test thru JCL if any file(PS or VSAM) is empty or not. I do not want to use any COBOL prog or Ezytrieve and want to do using utility.

10 Answers   Lehman Brothers,


What does a disposition of (MOD,DELETE,DELETE) mean ?

0 Answers  


What do you feel makes a good program?

1 Answers  


Categories