What is the improvement to COND= in the latest version of MVS?
Answers were Sorted based on User's Feedback
Answer / krithiga hari
COND statement can be replaced with IF END IF statement.
In COND, if the condition is true then the step will be
bypassed.
In IF END IF, if the condition is true then the step will
get executed.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / vish
True, COND parameter are a bit complex to write and
Understand. So they are promoting the use of
IF/THEN/ELSE/ENDIF instead of using COND parameters.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / guest
MVS now allows for an IF bracketed by an END IF around any
job step to replace the COND= syntax. Again, if the IF
statement is true, the step is bypassed.
| Is This Answer Correct ? | 0 Yes | 2 No |
What is JCL LIB ?
What does a disposition of (MOD,DELETE,DELETE) mean ?
how would you create a temporary dataset? And where will you use them?
wht is step lib n job lib ? where can we code joblib n steplib ?
wht happens if cond=true ? pls give me with an example ?
What is JOBLIB ?
how to have variable length record in outrec..i have the requmt as follows.. i/p file variable lenght record output file : i need to alter the input and write into outrec(another file) sort fields: copy from(dd1) using ctl1 ctl1cntl dd * outfil fnames=xxx, outrec=(1,131) here i outrec is bombing with error..how to overcome this defect...???
What is a MODEL Paramater in GDG ?
Mention the types of job control statements?
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 ?
how can u identify the db2 from jcl ?
01 A. 10 B pic X(10). move spaces to A. move spaces to B. output in A & B