Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread Seymour J Metz
U] on behalf of Clark Morris [cfmt...@uniserve.com] Sent: Monday, May 18, 2020 10:06 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How determine local time zone *name* in Rexx? [Default] On 18 May 2020 18:19:07 -0700, in bit.listserv.ibm-main sme...@gmu.edu (Seymour J Metz) wrote: >CRJE > >

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread Clark Morris
[Default] On 18 May 2020 18:19:07 -0700, in bit.listserv.ibm-main sme...@gmu.edu (Seymour J Metz) wrote: >CRJE > >All very well for a 2741, but for a 3270 I'd much rather have SuperWylbur or >ISPF, TYVM. > >> IEHIOSUP > >My eyes! Take the bad thing away, Mommy! > >I was thinking more of Compatibi

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread Seymour J Metz
gel [dspiegel...@hotmail.com] Sent: Monday, May 18, 2020 4:57 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How determine local time zone *name* in Rexx? OS/VS1 ... like CRJE and IEHIOSUP? On 2020-05-18 12:32, Seymour J Metz wrote: >> You would think that IBM's "Premiere OS" would be

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread David Spiegel
_ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Dale R. Smith [dale-sm...@columbus.rr.com] Sent: Monday, May 18, 2020 12:26 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How determine local time zone *name* in Rexx? On Sun, 17 May 2020 12:21:20 -0700, Ch

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread Mike Schwab
Depends on the date. If it is during daylight savings, MDT, otherwise CST. -0500 used to prevent a bit of a challenge. EST, CDT, or Indiana EST all year. On Mon, May 18, 2020 at 5:02 PM Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > > On Mon, 18 May 2020 11:26:17 -0500,

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread Paul Gilmartin
On Mon, 18 May 2020 11:26:17 -0500, Dale R. Smith wrote: > >z/VM has a CP QUERY TIMEZONE command: >query timezone >Zone Direction Offset Status >UTC 00.00.00 Inactive >GMT 00.00.00 Inactive >EDT West 04.00.00 Active >EST We

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread Seymour J Metz
IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Dale R. Smith [dale-sm...@columbus.rr.com] Sent: Monday, May 18, 2020 12:26 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How determine local time zone *name* in Rexx? On Sun, 17 May 2020 12:21:20 -0700, Charles Mills wrote: &

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread Dale R. Smith
On Sun, 17 May 2020 12:21:20 -0700, Charles Mills wrote: >The heck with it! I wanted it for the "Date:" line in an outgoing e-mail but >it appears that SMTP provides a sent timestamp if I don't, so the heck with >it! > >Thanks all for your efforts. Why should something so basic be so hard? > >Cha

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread Paul Gilmartin
On Mon, 18 May 2020 09:38:01 -0400, Steve Smith wrote: >Speaking of TZ, by coincidence I just stumbled across its full >documentation in UNIX System Services Command Reference Appendix I. > >Format >TZ= standardHH[:MM[:SS]] [daylight[HH[:MM[:SS:]]] >[,startdate[/starttime],enddate[/endtime]] ] >

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread Bob Bridges
I've been staying out of this conversation; sometimes I fail to read carefully, but this time I actually understood the question, so I kept my mouth shut, not knowing the answer. ...Except for the obvious possibility, of course. But no one seems to have mentioned that possibility yet, except M

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread Paul Gilmartin
On Mon, 18 May 2020 08:16:20 -0400, Peter Relson wrote: > >... the protocols such as having the clock be UTC ... > More precisely, the PoOps under TOD Programmable Register suggests (actually avers) that the TOD be set not to UTC but to TAI-10 seconds; currently about half a minute faster. >The c

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread Seymour J Metz
@LISTSERV.UA.EDU Subject: Re: How determine local time zone *name* in Rexx? On 2020-05-18 8:40 PM, Barkow, Eileen wrote: > Java has several classes and API methods to get the time zone. > Where does the JVM determine this info -is is not from the Unix settings? Yes, but you better make sure

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread Steve Smith
Speaking of TZ, by coincidence I just stumbled across its full documentation in UNIX System Services Command Reference Appendix I. Format TZ= standardHH[:MM[:SS]] [daylight[HH[:MM[:SS:]]] [,startdate[/starttime],enddate[/endtime]] ] It describes all those elements. I wasn't even aware of the DS

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread David Crayford
the timezone etc is part of the timestamp. https://en.wikipedia.org/wiki/ISO_8601 -Original Message- From: IBM Mainframe Discussion List On Behalf Of ITschak Mugzach Sent: Monday, May 18, 2020 8:33 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How determine local time zone *name* in

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread Barkow, Eileen
Subject: Re: How determine local time zone *name* in Rexx? But make sure that uss & mvs clocks are the same. בתאריך יום ב׳, 18 במאי 2020, 15:28, מאת Steve Smith ‏: > I forgot about the IANA Time-Zone database. That does seem to be the > standard. > > I don't see that Unix ha

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread ITschak Mugzach
But make sure that uss & mvs clocks are the same. בתאריך יום ב׳, 18 במאי 2020, 15:28, מאת Steve Smith ‏: > I forgot about the IANA Time-Zone database. That does seem to be the > standard. > > I don't see that Unix has anything to do with it. > > sas > > On Mon, May 18, 2020 at 1:41 AM Mike Schwa

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread Steve Smith
I forgot about the IANA Time-Zone database. That does seem to be the standard. I don't see that Unix has anything to do with it. sas On Mon, May 18, 2020 at 1:41 AM Mike Schwab wrote: > East Bank Palestinians and Israelites use different times for the same > location > Line Islands in Kiribat

Re: How determine local time zone *name* in Rexx?

2020-05-18 Thread Peter Relson
Surely a simple answer is: you have to do it yourself. In general, it is likely impossible because you do not know if the customer might be setting the clock to their local time and not using the protocols such as having the clock be UTC with the timezone being the offset from UTC. The custo

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread Mike Schwab
East Bank Palestinians and Israelites use different times for the same location Line Islands in Kiribati uses +14 time zone, same time one day earlier as -10 Hawaii. And agree the Unix time zone database is a great idea. On Mon, May 18, 2020 at 2:58 AM Paul Gilmartin <000433f07816-dmarc-requ..

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread Paul Gilmartin
On Mon, 18 May 2020 01:58:01 +, Mike Schwab wrote: >Yep. You almost need a country code, and for multi zone countries a >zone indicator. Especially since a shared time zone might have >different DST / ST switch dates in different countries. > And it's up to the recipient to unwind the proce

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread Mike Schwab
Yep. You almost need a country code, and for multi zone countries a zone indicator. Especially since a shared time zone might have different DST / ST switch dates in different countries. On Sun, May 17, 2020 at 9:03 PM Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > > On

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread Charles Mills
l Gilmartin Sent: Sunday, May 17, 2020 2:03 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How determine local time zone *name* in Rexx? On Sun, 17 May 2020 13:39:18 -0700, Charles Mills wrote: >Please read the subject line ... :-) > Beware of ambiguity. AST is both Arabia Standa

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread Steve Horein
BPXWUNIX with date '%D %X %Z' is the method I use to get date, time, and timezone name from Rexx. https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxb600/wunix.htm https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxa500/date.htm On Sun, May 17,

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread Paul Gilmartin
On Sun, 17 May 2020 13:39:18 -0700, Charles Mills wrote: >Please read the subject line ... :-) > Beware of ambiguity. AST is both Arabia Standard Time and Atlantic Standard Time, https://en.wikipedia.org/wiki/List_of_time_zone_abbreviations ... and I hadn't gotten through the "A"s yet. --

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread Charles Mills
Please read the subject line ... :-) Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Lionel B Dyck Sent: Sunday, May 17, 2020 1:14 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How determine local time zone *name* in Rexx

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread Paul Gilmartin
On Sun, 17 May 2020 14:57:14 -0500, Paul Gilmartin wrote: >On Sun, 17 May 2020 11:38:11 -0700, Charles Mills wrote: > >>I want to get the 3-or-so character *name* of the local time zone in Rexx. >>What is the most straightforward way? >> >From the command line, I'd use: >869 $ date +%Z >

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread Lionel B Dyck
nal Message- From: IBM Mainframe Discussion List On Behalf Of Steve Smith Sent: Sunday, May 17, 2020 3:08 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How determine local time zone *name* in Rexx? It's not so basic. AFAIK, z/OS doesn't keep track of the local timezone name, other tha

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread Steve Smith
It's not so basic. AFAIK, z/OS doesn't keep track of the local timezone name, other than the Unix TZ environment variable, which of course is arbitrarily set by whoever sets it. But that's pretty much the nature of timezone names, which are not unique, consistent, or properly understood. If you

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread Paul Gilmartin
On Sun, 17 May 2020 11:38:11 -0700, Charles Mills wrote: >I want to get the 3-or-so character *name* of the local time zone in Rexx. >What is the most straightforward way? > From the command line, I'd use: 869 $ date +%Z MDT >Environment: Rexx running in an STC under TSO (IRXEXEC). > U

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread scott Ford
To: IBM-MAIN@LISTSERV.UA.EDU > Subject: How determine local time zone *name* in Rexx? > > I want to get the 3-or-so character *name* of the local time zone in Rexx. > What is the most straightforward way? > > I get lots of hits that explain how to calculate the local offset from

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread Charles Mills
rame Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Charles Mills Sent: Sunday, May 17, 2020 11:38 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: How determine local time zone *name* in Rexx? I want to get the 3-or-so character *name* of the local time zone in Rexx. What is the most stra

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread ITschak Mugzach
> > Charles > > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of ITschak Mugzach > Sent: Sunday, May 17, 2020 12:10 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: How determine local time zone *name* in Rexx? &

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread Charles Mills
Mugzach Sent: Sunday, May 17, 2020 12:10 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How determine local time zone *name* in Rexx? True, but you know the offset. Btw, d t command tells you the utc. Use console command ITschak בתאריך יום א׳, 17 במאי 2020, 22:06, מאת Charles Mills ‏: > That

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread ITschak Mugzach
frame Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of ITschak Mugzach > Sent: Sunday, May 17, 2020 11:52 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: How determine local time zone *name* in Rexx? > > the answer is at CVTTZ. use STORAGE to fetch the info. see bel

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread Steve Smith
LOL sas On Sun, May 17, 2020 at 2:52 PM ITschak Mugzach wrote: > the answer is at CVTTZ. use STORAGE to fetch the info. see below offer, > etc. > ITschak > > 304 (130) SIGNED 4 CVTTZ - Difference between local time and UTC > (Coordinated Universal Time) in binary units of 1.048576 seconds. Con

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread Charles Mills
That is the numeric offset, right, not the *name*? Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of ITschak Mugzach Sent: Sunday, May 17, 2020 11:52 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How determine local time zone

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread ITschak Mugzach
the answer is at CVTTZ. use STORAGE to fetch the info. see below offer, etc. ITschak 304 (130) SIGNED 4 CVTTZ - Difference between local time and UTC (Coordinated Universal Time) in binary units of 1.048576 seconds. Contains the same value as CVTLDTOL. CVTLDTO (which contains CVTLDTOL) has this d

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread scott Ford
Charles, A thought, issue ‘D IPLINFO’ before set Outtrap on with a stem variable After command set outtrap off and the do a parse of the stem ... Scott On Sun, May 17, 2020 at 2:42 PM scott Ford wrote: > Charles, > > I just looked through the TSO Rexx manual, I assumed you did, I didn’t see >

Re: How determine local time zone *name* in Rexx?

2020-05-17 Thread scott Ford
Charles, I just looked through the TSO Rexx manual, I assumed you did, I didn’t see Timezone. Maybe a TSO function ? Scott On Sun, May 17, 2020 at 2:38 PM Charles Mills wrote: > I want to get the 3-or-so character *name* of the local time zone in Rexx. > What is the most straightforward way? >

How determine local time zone *name* in Rexx?

2020-05-17 Thread Charles Mills
I want to get the 3-or-so character *name* of the local time zone in Rexx. What is the most straightforward way? I get lots of hits that explain how to calculate the local offset from GMT, but what I need is the name such as 'EST' or 'PDT' (and yes, I know the limitations thereof, and that they ar