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

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?

6 Answers   CSC,


Can we DELETE all the Generations of a GDG at once, WITHOUT deleting the GDG itself ?

7 Answers   IBM,


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)?

5 Answers   Cognizant,


what is a jcl?

0 Answers   IBM,


i have a string of 80 chars i want to replace 4th char with "a"?

3 Answers   CSC,






what is use of dsn parameter in dd statement?

0 Answers   IBM,


can i sort packed decimal if i can tell the syntax

1 Answers   Barclays,


How does the jcl specify the job to os?

0 Answers  


Can we use DISP=SHR in output file in JCL

0 Answers  


How many steps we can overide in the proc's?

2 Answers   CS,


I had 100 steps in jcl i want to execute first 10 steps only?

6 Answers   IBM,


how can you check if a file is empty using jcl?

0 Answers   IBM,


Categories