z/OS TSO/E CLISTs
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using PROC with both positional and keyword parameters

z/OS TSO/E CLISTs
SA32-0978-00

The following PROC statement receives both positional and keyword parameters:
PROC 2 NAME ADDRESS STATE(NY) ZIP() PRINT
The number 2 indicates that the invoker must pass positional parameters for the first two variables, NAME and ADDRESS. Invokers can also pass keyword parameters with values for the variables STATE (the default value is NY) and ZIP (which has no default). In addition, invokers can pass the keyword parameter PRINT without a value, to specify a print option.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014