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 |
Passing a variable parm from JCL to a cobol/db2 program
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.
how you can direct the data to spool using SYSOUT option?
What does the TIME parameter signify ? What does TIME=1440 mean ?
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 ?
wt will happen to the step of a job if u code COND=ONLY
What is a GDG? How is it referenced? How is it defined? What is a MODELDSCB?
Explain in DD statement what is the use of DCB parameter?
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.
What does a disposition of (MOD,DELETE,DELETE) mean ?
What do you feel makes a good program?