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 |
Can a PROC CALL another PROC ? (in both Instream and Cataloged cases) ?
what is a MODELDSCB?
Suppose i have 2 steps in my pgm. Step1- creates a file, Step2 - generates report from file in step1, What changes have to be made in Step2, so that if the file in Step1 is empty Step2 should not be executed? No changes to be made to Step1.
if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job?
what is the COND=EVEN ? Can anyone give me an example to explain the usage.
Explain the function of //jcllib statement?
How to get the last but one duplicate record of the file using Sort?
What are the common jcl syntax errors you get? This is not abends?
What are the 2 types of parameters in dd statement?
How can the attributes of one sms dataset be copied to another dataset?
i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?
Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?