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 / animesh

that can be done in jcl using some utility likkje jhsidate

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does jcl act on a cobol code?

632


What are the 2 types of parameters in dd statement?

618


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

704


How to pass data to a program that is coded in an exec statement?

792


Explain how can the submitting users racf authority be overridden in a job stream?

651






which utility is used to run a cobol-db2 program?

774


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

690


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

708


What is the motivation behind coding class parameter in job statement?

652


which utility is used to sort a file in jcl?

720


Explain the job statement in jcl?

620


how you can direct the data to spool using SYSOUT option?

893


how you will the direct the data to spool using sysout option?

1711


How can a jobs execution priority be modified?

765


Is it possible to define dd statements as you want?

619