HP3000-L Archives

September 2008, Week 3

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:
John Pitman <[log in to unmask]>
Reply To:
John Pitman <[log in to unmask]>
Date:
Tue, 16 Sep 2008 08:11:57 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (167 lines)
Nigel,
your first two examples (E-8:00 set in TZ, and NO TZ set) give the same answer - why is that ?
Also your showclks output is a tiny bit different from mine...mine shows current value of TZ : E-8:00, yours :E8:00     no minus sign???

Is there a line I can add to TZTAB file to fix this? Why are there no entries for anywhere but US, Europe and OZ in the file?

tks
jp

-----Original Message-----
From: Skeet, Nigel [mailto:[log in to unmask]]
Sent: Monday, 15 September 2008 9:26 PM
To: John Pitman; [log in to unmask]
Subject: RE: clock issue - more data


Hi John,

Your TZ variable is set as E-8:00 which isn't an official one. Can you check the TZTAB.LIB.SYS file and see if it exists I presume it doesn't.

As this is the case then it'll default to Eastern time which is 4 hours behind GMT and hence the 12 hours behind your system clock.

Try setting your TZ variable to EST-7EDT, or EST-8EDT and running SHOWCLKS.PUBXL.TELESUP again. I've managed to setup and duplicate on one of our servers here.

Following with E-8 set.

:showclks.pubxl.telesup
SHOWCLKS/XL  A.10.00
DEBUG/iX C.45.05

HPDEBUG Intrinsic at: 153.00007258 PROGRAM+$198
PRIV=$3 := $0

  *************************************************************
  ***                                                       ***
  ***   Greenwich Mean Time : MON, SEP 15, 2008, 11:12 AM   ***
  ***   GMT/MPE offset      : +8:00:00                      ***
  ***   MPE System Time     : MON, SEP 15, 2008,  7:13 PM   ***
  ***                                                       ***
  *************************************************************

                 **** C Library Information ****

        Current value of Time Zone(TZ) variable : E8:00
        CTIME function return :  Mon Sep 15 07:13:01 2008

Now with no TZ set

:showclks.pubxl.telesup
SHOWCLKS/XL  A.10.00
DEBUG/iX C.45.05

HPDEBUG Intrinsic at: 153.00007258 PROGRAM+$198
PRIV=$3 := $0

  *************************************************************
  ***                                                       ***
  ***   Greenwich Mean Time : MON, SEP 15, 2008, 11:14 AM   ***
  ***   GMT/MPE offset      : +8:00:00                      ***
  ***   MPE System Time     : MON, SEP 15, 2008,  7:14 PM   ***
  ***                                                       ***
  *************************************************************

                 **** C Library Information ****

        Current value of Time Zone(TZ) variable :
        CTIME function return :  Mon Sep 15 07:14:09 2008

Now with EST-7EDT set.

:showclks.pubxl.telesup
SHOWCLKS/XL  A.10.00
DEBUG/iX C.45.05

HPDEBUG Intrinsic at: 153.00007258 PROGRAM+$198
PRIV=$3 := $0

  *************************************************************
  ***                                                       ***
  ***   Greenwich Mean Time : MON, SEP 15, 2008, 11:18 AM   ***
  ***   GMT/MPE offset      : +8:00:00                      ***
  ***   MPE System Time     : MON, SEP 15, 2008,  7:18 PM   ***
  ***                                                       ***
  *************************************************************

                 **** C Library Information ****

        Current value of Time Zone(TZ) variable : EST-7EDT
        CTIME function return :  Mon Sep 15 19:18:11 2008

Not the TZ is only what is setup with your logon UDC's so you'll need to track down and where this is and change it.

Easy way to set that up if you need to change it is instead of hardcoded into you logon UDC's set it up as a file readable by all

:print tzfile
EST-7EDT
:input tz < tzfile
:showvar tz
TZ = EST-7EDT

Regards,

Nige...

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf Of John Pitman
Sent: Monday, September 15, 2008 5:44 AM
To: [log in to unmask]
Subject: [HP3000-L] clock issue - more data

GMT looks correct to me, system time is correct, why is ctime returning a value low by 12 hours ?







:showclks.pubxl.telesup

SHOWCLKS/XL  A.10.00

DEBUG/iX C.45.05



HPDEBUG Intrinsic at: 6e6.00007258 PROGRAM+$198

PRIV=$3 := $0



  *************************************************************

  ***                                                       ***

  ***   Greenwich Mean Time : MON, SEP 15, 2008,  3:20 AM   ***

  ***   GMT/MPE offset      : +8:00:00                      ***

  ***   MPE System Time     : MON, SEP 15, 2008, 11:20 AM   ***

  ***                                                       ***

  *************************************************************



                 **** C Library Information ****



        Current value of Time Zone(TZ) variable : E-8:00

        CTIME function return :  Sun Sep 14 23:20:46 2008






* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2