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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can values be passed from the job stream to an executable program?

865


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1576


How do you overcome this limitation ?

688


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

802


In job processing, what happens in execution stage?

694






Can I send output of job to my remote device careerride123?

660


which parameter is used to check the syntax of a jcl without executing it?

792


What statement can be used to send data to another mvs jes3 node?

811


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

1611


what operation is performed by job statement?

653


Is there any command to check wether the ps file is in sorted order?

2421


In sms datasets, what is the function of the dd avgrec keyword?

645


How to execute 2nd and 4th steps among 5 steps in jcl proc?

743


write a jcl to execute a job by 7:00 am on jan 20,1986?

688


Explain the function of dd name parameter with a 2 part structure; audit.report?

887