Hi Gil, thank you for replying.
Interestingly, system("env") shows STEPLIB set to the correct value.
So does getenv().
Both before and after the fork.
I have the impression that maybe LE is creating a separate environment, that
system services like BPX1EXM can't access... ?
Thanks,
Etienne
On Mon, 8 Feb 2010 06:31:43 -0600, Paul Gilmartin <[email protected]>
wrote:
>On Mon, 8 Feb 2010 03:43:58 -0600, Etienne Thijsse <[email protected]>
wrote:
>>
>>BUT... if I use setenv() or putenv() or CEEENV() to set the same
environment
>>variable to the same value, then BPX1EXM does not seem to pick up this
>>variable; it can't find the MVS program. It makes no difference where I put
the
>>putenv(), at the start of the program, before the fork, after the fork...
>>
>What does
>
> system( "env" );
>
>show you at those points?
>
>-- gil
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [email protected] with the message: GET IBM-MAIN INFO
>Search the archives at http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html