In your JCL, run the even numbered steps if date is even and run odd numbered steps if date is odd .
Where do you generate the date ??in cobol or JCL ??
Answers were Sorted based on User's Feedback
Answer / sv
One can either use UT22000 utility to pass the Date else in
program also Date utility can be called and generated.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / animesh
that can be done in jcl using some utility likkje jhsidate
| Is This Answer Correct ? | 0 Yes | 1 No |
Definition of COND parameter in JCL
what is symbolic parameters in jcl, what is a temparary data set ? where do u use ?
what are JCLLIB and STEPLIB in JCL?
wht do u mean by internal reader in jcl ? wht is the use of internal reader ?
My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........
01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
Passing a variable parm from JCL to a cobol/db2 program
What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?
What do you understand by the term job time – out and how can you overcome that?
define cond parameter in jcl?
What are some jcl statements that are not allowed in procedures?
How to identify where file is empty or not? How many ways are there to identifying?