On Mon, 9 Apr 2018 18:59:35 +0000, Phil Carlyle wrote:
>Found this in an IBM publication (SA32-0982-00):
>
>When you invoke a REXX exec either implicitly or explicitly using the EXEC
>command.
>You can pass either one or no arguments to the exec. Thus the ARG instruction
>in the
>preceding examples received only one argument. One argument can consist of
>many
>words. The argument, if present, will appear as a single string.
>
Correct, however the current version, TSO/E REXX User's Guide Version 2 Release
3
(SA32-0982-30), says in the preceding paragraph:
Passing Arguments
Values passed to an exec are usually called arguments. Arguments can
consist of
one word or a string of words. Words within an argument are separated by
blanks.
The number of arguments passed depends on how the exec is invoked.
Passing Arguments Using the CALL Instruction or REXX Function Call
When you invoke a REXX exec using either the CALL instruction or a REXX
function
call, you can pass up to 20 arguments to an exec. Each argument must be
separated by a comma.
It appears the OP was attempting to use a Rexx function call, not "either
implicitly or
explicitly using the EXEC command," so up to 20 arguments separated by commas
are permissible.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN