User Tools

Site Tools


ibm:vm370-lib:cmshelp:args.helpexc

ARGS

EXEC Interpreter

args.helpexc.txt
&ARGS STATEMENT                                                  EXEC statement

Use the &ARGS control statement in an EXEC procedure to redefine the value of
one or more of the special variables, &1 through &30.  The format of the &ARGS
control statement is:
+-----------+-----------------------------------------------------------------+
| &ARGS     | [arg1 [arg2 ... [arg30]]]                                       |
+-----------+-----------------------------------------------------------------+
where:

arg1 [arg2 ... [arg30]]
         specify up to 30 tokens to be assigned to the special variables &1
         through &30.  If no arguments are specified, all of the variables &1
         through &30 are set to blanks.  When fewer than 30 arguments are
         entered, the remaining arguments are set to blanks.  An argument is
         also set to blanks if it is specified as a percent sign (%).


Usage Notes:

1.  To enter an argument list from the terminal, use the &READ ARGS control
    statement.

2.  An &ARGS control statement resets the values of the &INDEX, &*, and &$
    special variables.
ibm/vm370-lib/cmshelp/args.helpexc.txt ยท Last modified: 2023/08/06 13:36 by Site Administrator