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 |
What are the basic JCL Statements for a Job?
How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL.
How can you trap abends in the JCL?
Explain about Cobol Subroutines
how many members can be created inside a single pds?
Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance
Explain the function of the dd dcb keyword?
what is JCLLIB and PROCLIB in jcl and their syntax
What type of versions we r using in mainframe (jcl, cobol, db2, vsam, cics)?
I have one GDG. Everyday One new version is being created.Now I want to split this created version in different files each having 1000 records. Here Problem is I don't know How many records will be there in new version of GDG? that's why I don't know How many Out files we need to use . Interesting??????????????
One of My Job is running in production, which contains five steps?i want to pass the input to FIFTH step while running is it possible? if how?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?