Use the list form of the WTO macro together with the execute form of the macro for applications that require reentrant code. The list form of the macro defines an area of storage, which the execute form of the macro uses to store the parameters.
The list form of the WTO macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede WTO. |
WTO | |
␢ | One or more blanks must follow WTO. |
‘msg’ |
msg: Up to 126 characters. Note:
|
The permissible line types,
text lengths, and maximum numbers of each line type are shown below:
|
|
The maximum total number of lines that can be coded in one instruction is 10. | |
,ROUTCDE=(routing code) | routing code: Decimal digit from 1 to 28. The routing code is one or more codes, separated by commas, or a hyphen to indicate a range. |
,MCSFLAG=(flag name) | flag name: Any combination
of the following, separated by commas:
|
,DESC=(descriptor code) | descriptor code: Decimal digit from 1 to 13. The descriptor code is one or more codes, separated by commas. |
,CART= | Parameter value not required for list form. Code only CART=. |
,KEY= | Parameter value not required for list form. Code only KEY=. |
,TOKEN= | Parameter value not required for list form. Code only TOKEN=. |
,CONSID= |
Parameter value not required for list form. Code only CONSID= |
,MF=L | |
The parameters are explained under the standard form of the WTO macro, with the following exception:
MYLIST WTO 'USR001I CRITICAL RESOURCE SHORTAGE DETECTED', X
ROUTCDE=(1,10), X
DESC=(2),CONSID=,MF=L