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 |
Can we give two user name in NOTIFY parameter in JOBCARD
How to empty the records in jcl
I need exexution process for JCL programs
What is difference between Return Code, user completion code, Abend code and reason Code?
A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?
What is Automatic Restart ? EXEC PGM = PROG1, RD = R (Is it the Restart of a JOBSTEP or Restarting the execution of the program?) Do we Restart it or it automatically Restarts executing again and again ? Then when it will finish executing ? or After Abending, when we submit it again, then it is Restarted from the Last successful Checkpoint ? If some JOBSTEP is abending, what is the benifit to Restart it, WILL IT NOT ABEND AGAIN if you don't change the LOGIC ?
How can you execute a COBOL program via SYSIN in JCL?
How Can we see all generations of a GDG ?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The DISP in the JCL is SHR and the program opens the file in EXTEND mode. What happens ?
I have DATE filed like DD-MM-YYYY, So I want output should be MM/DD/YYYY using JCL? Can anybody post the answer for above requirement?
4 Answers BirlaSoft, FIS, Wipro,
oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset
i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.