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 a fb file convert to vb file using sort program?

771


Explain how can return codes be tested before execution of a job step?

795


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1922


WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375

1005


How do you create a temporary dataset?

633






Is it possible to left uncode disp? If yes, how?

683


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

652


how would you create a temporary dataset? And where will you use them?

730


Is their any limit for data sets?

679


How does the jcl specify the job to os?

663


How to do automated restart when a job abend?

757


Which dd parameters are required?

658


what sort card you will use to copy the data from one dataset to another dataset?

694


Can we use DISP=SHR in output file in JCL

905


Does jcl support automatic restart?

723