I have a little problem going on :
In all my Cobol programs I have a banner routine that shows the run date/time
and the date/time the program was compiled.
I use the functions WHEN-COMPILED and CURRENT-DATE. I use the "ACCEPT"
statement to get the system time.
The run date time is being shown correctly. However, the WHEN-COMPILED is
showing the time as 7 hours BEHIND the correct date/time.
At system startup time I set the hardware clock (via CLKUTIL) to the
appropriate date/time for this time zone (California, USA). As I start the
system from the "ISL>" prompt I put in the same date/time as I put in at the
CLKUTIL prompt.
My "TZ" variable is set correctly for my time zone, i.e "PST8PDT"
Why is the compiled date/time off by 7 hours?
Here is a sample of the program banner:
* SPUDRIVR.NMPROG.SPUTIL 04/25/2002 11:25:04 *
* Compiled: 04/25/2002 04:24:28
*
This program was compiled at 11:24am NOT 4:24am.
Thank you in advance,
Brian.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *