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 |
how to identify the file used in the JCL is an VSAM file. Just seeing the JCL code how can we track the file as VSAM file?
Can we DELETE all the Generations of a GDG at once, WITHOUT deleting the GDG itself ?
Suppose I have 5 dataset listed under a single DD name in a catlogued PROC. How can I override one of those 5 dataset (say 3rd dataset)?
what is a jcl?
i have a string of 80 chars i want to replace 4th char with "a"?
what is use of dsn parameter in dd statement?
can i sort packed decimal if i can tell the syntax
How does the jcl specify the job to os?
Can we use DISP=SHR in output file in JCL
How many steps we can overide in the proc's?
I had 100 steps in jcl i want to execute first 10 steps only?
how can you check if a file is empty using jcl?