I like the z/VM CMS method (used for passing tokenized arguments). A value
of 8x'FF' is the end-of-list indicator. That's not really for HLASM
programs, but for the tokenized argument list going into a CMS command.

On Thu, Apr 28, 2016 at 6:29 AM, Peter Relson <[email protected]> wrote:

> >How does a 64-bit caller indicate the end of a
> >variable parameter list?
>
> In whatever way the target routine has documented that you need to do so.
> Or, if you own the target routine, in whatever way you implemented that
> the caller do so.
>
> Some implementations include:
> -- pass the number of parameters in a register
> -- pass the number of parameters as a (required) first parameter
>
> Peter Relson
> z/OS Core Technology Design
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>



-- 
The unfacts, did we have them, are too imprecisely few to warrant our
certitude.

Maranatha! <><
John McKown

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

Reply via email to