On Tue, 22 Sep 2020 21:51:34 +0000, Farley, Peter x23353 wrote:

>Current Enterprise COBOL compilers (and back as far as I know, even COBOL 
>F-level from MVT) always mark the last parameter address in the address list 
>with the bit 0 turned on, though I have not researched what current ones do if 
>the last parameter is "BY VALUE".
>
>Again for current Enterprise COBOL versions, the LE Vendor Interfaces manual 
>available in KC has the PPA1 format and in general how to locate it.
> 
The answer depends on agreement between the designers of the calling
and called programs.  Lacking such agreement there's no general
solution.

C programs called by a POSIX shell can rely on argc, but only because that's
specified in the Standard.

-- gil

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

Reply via email to