On Wed, 11 Apr 2012 00:48:33 +0200, Bernd Oppolzer wrote:
>I would not blame PL/1 for this.
>It is not OK IMHO to request the caller to set the
>high order bit on the last parameter, when the number of the parameters is
>fixed
>(see also my GDDM example on the other post). This is not required by
>any OS convention,
>at least that's my understanding.
>
It's inconsistently deprecated. In:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/iea2a7b0/5.1.8
5.0 ATTACH and ATTACHX -- Create a new task
Subtopics:
* 5.1 Description
Specify VL=1 only if the called program can be passed a variable number
of parameters. VL=1 causes the high-order bit of the last address to be
set to 1; the bit can be checked to find the end of the list.
Note the word "only". But this admonition appears for ATTACH, but not
for CALL. Is there any rationale for this difference, or is an RCF in order?
(I haven't checked LINK nor XCTL; they're in a different volume.)
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN