HP3000-L Archives

April 2002, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tom Brandt <[log in to unmask]>
Reply To:
Tom Brandt <[log in to unmask]>
Date:
Thu, 25 Apr 2002 15:00:36 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
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 *

ATOM RSS1 RSS2