On Tue, 3 Oct 2023 08:57:46 -0500, John  wrote:

>Assembler callable services
><https://www.ibm.com/docs/en/zos/3.1.0?topic=reference-callable-services-descriptions>
>
>In response to David Cole's inquiry ...
>
Quoting  myself:

in: 
<https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08>,
    The value of an environment variable is a string of characters. For a 
C-language
    program, an array of strings called the environment shall be made available
    when a process begins. The array is pointed to by the external variable 
environ,
    which is defined as:

    extern char **environ;

So I assume that:
    WXTRN  'environ'
would provide a handle if linked in a program object.

Resolving an ESD in a separate process such as an ATTACHed task would be harder.

-- 
gil

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

Reply via email to