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 |
you have one jcl .in sort step 5 files are there.if out of 5 files if one file is uncataloged or not there then how will you correct your jcl so that problem does not come. you should not create this file externally.how will u overcome it.
i have a file which contains duplicates ? my requirement is to eliminate duplicates and these elminated duplicates should be moved to another file can any code this using sort ?
what is the function of spool command?
Is automatic restart possible in jcl? If yes, how?
How many types of parameters are used in JCL and what are mandatory parameters of JOB statement.
Name some of the JCL statements that are not allowed in procs.?
how GDGs are concatinated?
How to read records in reverse order in flat file?
what is the control cards?
what is DSN parameter and DISP parameter is used for?
I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?
how to compare two datasets without using superce because output is limited to 133 bytes