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 > MDT > An embellishment, suitable for email headers: 874 $ date "+Date: %a, %e %b %Y %T %z" Date: Sun, 17 May 2020 14:27:40 -0600
>>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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN