View previous topic :: View next topic
|
Author |
Message |
richie
New User
Joined: 11 Jun 2005 Posts: 24
|
|
|
|
Hi,
I am trying to get the date in COBOL program.
The date has to be batch processing date and not the system date incase the batch is running after mid-night.
Could anyone please help me to get the code on this.
Thanks in advance. |
|
Back to top |
|
|
Kevin
Active User
Joined: 25 Aug 2005 Posts: 234
|
|
|
|
Where do you intend to get this "batch processing date" from? The job scheduling system? Some external file? An online system?
Certainly it can be passed as a PARM through the program's LINKAGE SECTION. |
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 420 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
|
|
most places put the date in various formats in a member of a PDS or Librarian library and simply read it into any program of an application that needs it.
the first batch job of the application, or group of apllications, seeds that member with the date(s).
some use REXX, ROSCOE, scheduler functionality to construct these date 'cards' (members)
at one place I worked, a program launched by CA-Scheduler simply wrote a console message reminding operations to run the ROSCOE RPF that performed the date seeding function.
Dave |
|
Back to top |
|
|
|