On Wed, Dec 28, 2016 at 2:22 PM, R.S. <r.skoru...@bremultibank.com.pl> wrote:
> I'm trying to find out the list of valid timezone abbreviations in z/OS > Unix. > I found I can provide any code (i.e. TZ=STUPID), but invalid code means > UTC. > > I would like to set it up to Poland, but no CET or CEST is valid. > > Any clue? > > -- > Radoslaw Skorupka > Lodz, Poland > > ​Transcript from my z/OS 1.12 system: $ printenv TZ;date CST6CDT Wed Dec 28 14:44:34 CST 2016 $ TZ=UTC date Wed Dec 28 20:44:43 2016 $ TZ=CET-1CEST-2 date Wed Dec 28 21:44:53 CET 2016 $ TZ=FAT-1TST-2 date Wed Dec 28 21:46:19 FAT 2016 $ TZ=CST date Wed Dec 28 20:47:07 2016 Notice especially the first and last entry. On the last, the date comes out in UTC even though I use a "valid" code of CST. So I think that, at least in z/OS 1.12, the TZ must contain the offset from UTC or it is just used as the "label" in the date command's output. -- Heisenberg may have been here. http://xkcd.com/1770/ Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN