Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Argument list z/OS TSO/E REXX Reference SA32-0972-00 |
|||||||||||||||||||||||||||||||||
Table 1 shows the format of the parsed argument list the function or subroutine code receives at offset +16 (decimal) in the external function parameter list. The figure is an example of three arguments. TSO/E provides a mapping macro IRXARGTB for the argument list. The mapping macro is in SYS1.MACLIB.
In the argument list, each argument consists of the address of the argument and its length. The argument list is terminated by X'FFFFFFFFFFFFFFFF'. If an argument is omitted, the address of the argument is 0. If
a null string is passed as an argument to a function, the address
of the argument is nonzero, but the length of the argument is 0. For
example, suppose you invoked an assembler function called "MYFUNC" using
this invocation:
The argument list
would contain the addresses and lengths of the three arguments followed
by X'FFFFFFFFFFFFFFFF':
|
Copyright IBM Corporation 1990, 2014
|