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



In your JCL, run the even numbered steps if date is even and run odd numbered steps if date is odd ...

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

In your JCL, run the even numbered steps if date is even and run odd numbered steps if date is odd ...

Answer / animesh

that can be done in jcl using some utility likkje jhsidate

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More JCL Interview Questions

Explain how can an in-stream dataset be terminated?

0 Answers  


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.

1 Answers  


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

2 Answers   IBM,


what is the restart?hopw it is invoked?

1 Answers  






what is meant by jobtrac?

4 Answers   CSC,


I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?

16 Answers  


after submiting the jcl.how do you know that the job has been completed.

4 Answers   ACS,


What are the parameter we cannot use in procedure?

0 Answers  


File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3

7 Answers  


How to DEBUG a JCL?

9 Answers   Satyam,


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.

3 Answers   Wipro,


Categories