TZSET and Sydney2000 Time Zone

Hans-Ole Kaae, ScanConsult hok@scanconsult.dk
Wed, 30 Aug 2000 09:43:54 +0200


Hi Ron,

Your problem looks like a similar one that we pursued and solved
last year.

The problem could be incorrect data in your TZTAB.LIB.SYS file
or it might be a UDC-problem.

Try to do a:

:showclks.pubxl.telesup

SHOWCLKS/XL  A.10.00
DEBUG/iX C.05.08

HPDEBUG Intrinsic at: 6ac.00007258 PROGRAM+$198
PRIV=$3 := $0

  *************************************************************
  ***                                                       ***
  ***   Greenwich Mean Time : WED, AUG 30, 2000,  7:02 AM   ***
  ***   GMT/MPE offset      : +2:00:00                      ***
  ***   MPE System Time     : WED, AUG 30, 2000,  9:02 AM   ***
  ***                                                       ***
  *************************************************************

                 **** C Library Information ****

        Current value of Time Zone(TZ) variable : MET-1METDST
        CTIME function return :  Wed Aug 30 09:02:12 2000

Now inspect the last two lines. As far as I know, PowerHouse
relies on the CTIME function (being written in 'C', I guess) -
and the CTIME values must match your local time.

If they don't, you need to check 2 things:

1) At the : prompt, you must have a variable set, TZ. To check:

:showvar tz

TZ = EST-10EST (or whatever the correct setting in your area is)

2) If this is set correctly for your PowerHouse logins,
experiencing the problems, you need to amend the TZTAB.LIB.SYS file
to reflect you local timezone-settings as described in the file
itself.

Hope this helps.


With kind regards,

Hans
(Hans-Ole Kaae)

====================================================================
E-mail: hok@scanconsult.dk               Cell Phone: +45 40 42 55 07
====================================================================
ScanConsult IT-Partners                    Voice   : +45 87 34 55 07
Udviklingsparken Aarhus                    Fax     : +45 87 34 15 07
Soenderhoej 46                      Support : support@scanconsult.dk
DK-8260 Viby J.                     Sales   :   sales@scanconsult.dk
Denmark                             Web  : http://www.scanconsult.dk
===     M A C H :  Menu-based  Air  Cargo  Handling  system      ===
===       ScanConsult is Authorized by Hewlett-Packard as:       ===
===     *    HP 3000 Select Independent Software Vendor    *     ===
===     **             HP9000  Power  Partner             **     ===




-----Original Message-----
From: owner-powerh-l@sphere.swau.edu
[mailto:owner-powerh-l@sphere.swau.edu]On Behalf Of Ron Burnett
Sent: 30. august 2000 05:29
To: powerh-l@sphere.swau.edu
Subject: TZSET and Sydney2000 Time Zone


Hello everyone,

I think we got bit by the non-standard Sydney2000 timezone last night.

We have a job that gets auto-streamed (HP3000) by another job and
gets a date parameter from the system's SYSDATE variable.

We reset our system clocks, as everyone in Victoria and New South Wales,
etc. (Australian eastern states) did at 2 a.m. on Sunday morning, 27 August,
to GMT -11 (EST here is GMT -10).  BUT, I didn't touch the TZSET file in
CURRENT
group of COGNOS account.

The job launched itself somewhat earlier than normal (not in itself a bad
thing, of course) ..... at 12:55 a.m.  And it resolved SYSDATE as the
previous
day.  NOT a good thing.

Can someone remind me how PowerHouse uses the TZ file and SYSDATE
vs hardware clock?  Should I have changed the TZSET file to reflect
GMT-11?  It gets read by the standard SETPOWERHOUSE UDC.

Many thanks,
Ron Burnett
ron@lis.rch.unimelb.edu.au


= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.