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 *
|