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).
>
Use ADDRESS SYSCALL spawn date +%Z
or BPXWUNIX directing stdout to a stem.
Both work in all common environments.
It depends on your sysadmin's having configured correctly.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN