On Tue, 3 Oct 2023 16:22:19 +0000, Farley, Peter  wrote:

>Unfortunately none of those callable services provides access to the POSIX 
>environment variables table.  The only references I can find to access to 
>those values are in the getenv() / putenv() C function descriptions.
>
>To Dave C.,
>
>I guess you could put in a call to IBM C/C++ support to ask them how one is 
>supposed to access environment variables from assembler subroutines.  I am 
>assuming here that you will need to be running / compiling with POSIX “on” in 
>order for that to work at all.  Maybe if you are already running in a POSIX 
>“on” environment there will be a control block chain you can chase to find the 
>in-core table of values.
>
Can that chain (array of pointers, actually) be anchored with
    WXTRN  'environ'
???

-- 
gil

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

Reply via email to