On Mon, 9 Nov 2015 11:12:54 -0700, Paul Gilmartin wrote:
>
>Interesting information at:
>    http://www-01.ibm.com/support/docview.wss?uid=swg21248101
>
>    ... systems or applications that use the POSIX time zone format may
>    not change time properly ...
>
>    Systems and applications using the Olson time zone format are NOT affected.
>    Do not take any action if you use Olson format. ...
>
>Does this embody a hint to z/OS development?  Perhaps even grist for the RfE 
>mill?
>
>    https://en.wikipedia.org/wiki/Tz_database
>
In fact, Java appears Olson-savvy:

user@OS/390.25.00: date; /usr/lpp/java/J8.0_64/bin/java TimeZoneTest            
                                                      
Mon Nov  9 18:37:56 MST 2015
    ...
TimeZone : Asia/Pyongyang - Korea Standard Time
TimeZone : 
sun.util.calendar.ZoneInfo[id="Asia/Pyongyang",offset=32400000,dstSavings=0,useDaylight=false,transitions=4,lastRule=null]
Date (String) : 10-11-2015 10:38:03 AM
Date (Object) : 10-11-2015 10:38:03 AM
    ...
user@OS/390.25.00: ls -ld /usr/lpp/java/J8.0_64/bin/java
-rwxr-xr-x   1 OMVSKERN OMVS      106496 Jul 16 02:23 
/usr/lpp/java/J8.0_64/bin/java

However:

[email protected]: date; java TimeZoneTest
Mon Nov  9 18:38:21 MST 2015
    ...
TimeZone : Asia/Pyongyang - Korea Standard Time
TimeZone : 
sun.util.calendar.ZoneInfo[id="Asia/Pyongyang",offset=30600000,dstSavings=0,useDaylight=false,transitions=5,lastRule=null]
Date (String) : 10-11-2015 10:08:22 AM
Date (Object) : 10-11-2015 10:08:22 AM
    ...
[email protected]: ls -alL `whence java`
-rwxr-xr-x 1 root root 37880 Aug 19 13:41 /usr/bin/java

Apparently, z/OS 2.2 is oblivious that North Korea set its clocks back a half 
hour last
August 15.  z/OS needs to institute a policy of updating the timezone data base
by PTF whenever a change in the Olson zone info is announced.

Hmmm ... Apparently IBM is cognizant of this:
    https://www.ibm.com/developerworks/java/jdk/dst/olson_table.html

However:

    ... The time zone updates are applied by updating your Java™ SDK or JRE or
    running the IBM Time Zone Update Utility for Java (JTZU).

Grrr... Better it should be done by PTF in the normal service stream rather than
burdening systems administrators with another responsibility.  Linux got it 
right:
just routine service.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to