Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example 8 z/OS TSO/E Command Reference SA32-0975-00 |
|
Operation: Pass an argument string containing values separated by commas to a REXX exec. Known:
Implicit form:
Extended implicit form:
Explicit form:
Note: If you want to pass an argument string that contains values
separated by commas and the first value is null (that is, the argument
string begins with a comma), then the explicit form must be used.
For example, to pass the argument string ",3" to
the GETARG exec, you must specify:
In
this case, GETARG is passed the two character argument string ",3".
The PARSE ARG A ',' B instruction parses the argument string to obtain
a null value for A, and a value of 3 for B.If an implicit invocation is used, the leading comma is stripped
from the argument string passed to the exec. That is,
results
in the 1 character string "3" being passed to the exec. |
Copyright IBM Corporation 1990, 2014
|