On Fri, 2 Dec 2016 16:15:05 -0600, Kirk Wolf wrote:
>You can definitely set them by using setenv() from a C program, even if the
>C program gets dubbed in a job step (i.e., not run from a z/OS UNIX shell).
>
>I've done this before in the TSO logon proc:
>
>//CEEOPTS DD *
> ENVAR("XXX=YYY")
> ...
>//*
>
I suspect this works only on the EXEC statement; I can't DYNALLOC it later.
I'd be delighted to be shown wrong.
I'm not authorized to modify "the" TSO logon proc.
>I'm not sure that this helps for a dubbed non-LE program though. My use
>was with headless CEATSO address spaces, where I was launching a LE program
>using a headless ISPSTART PGM(xxxx) TSO command. ENVAR LE options
>probably only get picked up when an LE environment program is started.
>
I have, for example an EXEC/Macro that invokes "pax -v" to display a detailed
directory of a pax.Z archive. Invoked from a shell, it displays contents with
local time; from ISPF DSLIST, UTC. If TZ were available it would work alike
in both environments.
>You might want to look at this RFE (and vote for it) since it probably
>addresses the common needs in a more general way:
>
>https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=59716
>
which, not astonishingly, is telling me:
Our apologies...
The content you are trying to access is not available. Please try again
later.
Thanks,
gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN