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 |
Explain how can an in-stream dataset be terminated?
WORKING-STORAGE SECTION. 1 GROUP-ITEM. 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50. 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP. PROCEDURE DIVISION. MOVE ZERO TO GROUP-ITEM. ADD 50 TO AMOUNT-1. DISPLAY AMOUNT-1. STOP RUN.
Hi Guyz, My requirement is to empty out a PS file but not to delete. How would I do that. Is there any Utility. If any other way, plz answer. Thanks.
9 Answers iGate, Lehman Brothers,
what is force complete
what is the restart?hopw it is invoked?
what is meant by jobtrac?
I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?
after submiting the jcl.how do you know that the job has been completed.
What are the parameter we cannot use in procedure?
File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3
How to DEBUG a JCL?
I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.