On Thu, 14 Mar 2013 07:13:11 -0500, Kirk Wolf wrote:
>
>I was thinking that another path might be to write a shell script in REXX
>and use the Unix syscalls.  But the one you really need, mktime(), isn't
>listed in the "Using REXX with Unix System Services".  Pity, that would
>have been quite doable.
> 
mktime() is LE-dependent, and the apparent wizard behind Rexx-USS has
an aversion to LE.  There are reasons for this, perhaps good.

I'd do it in C since we have the compiler.

What are the syntactic bounds on the TZ environment variable?  Could
one subtract 24 hours from the offset and use the date(1) command?
Nope.  By experiment, z/OS POSIXly enforces a 24-hour syntactic limit.
OS X and Linux are not so fastidious.

-- gil

"Unix was not designed to stop its users from doing stupid things,
as that would also stop them from doing clever things." – Doug Gwyn

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

Reply via email to