On Wed, 25 Mar 2009 16:29:51 +0000, Bri P wrote:

>If you use commas thus:
>
>EXEC PGM=IKJEFT01,PARM='PARMTST P1,P2 IS HERE,P3'
>
>and in the exec, use
>
>parse arg  T1 ',' T2 ',' T3 .
>
>That should do it.
>
If you're foolhardy, you could use INTERPRET.

The important thing to remember is that TSO, Batch, or z/OS Unix
passes only one argument to the Rexx exec.  Parse it as you will.

Minor exception:  under z/OS unix the __ARG. stem is available.

Alternative convention: Rexx EXECs can pass multiple arguments
to functions or subroutines written in Rexx.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to