Subject: | |
From: | |
Reply To: | |
Date: | Thu, 25 Apr 2002 15:00:36 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Execute the SHOWCLOCK command and check the timezone parameter. It's
probably wrong. Correct it with the SETCLOCK command.
At 02:59 PM 4/25/2002 -0400, Brian Donaldson wrote:
>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?
--------------------------------
Tom Brandt
Northtech Systems, Inc.
313 N. 1st Street
Ann Arbor, MI 48103
http://www.northtech.com/
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|