Use the list form of the WTOR 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 message parameter must be provided in the list form.
The list form of the WTOR macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede WTOR. |
WTOR | |
␢ | One or more blanks must follow WTOR. |
‘msg’,reply addr,reply |
msg: Up to 122 characters. Note:
|
,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 number 7 or 13. If you code both 7 and 13, separate them with commas. |
,RPLYISUR= | Parameter value not required for list form. Code only RPLYISUR=. |
,CART= | Parameter value not required for list form. Code only CART=. |
,CONSID= | Parameter value not required for list form. Code only CONSID= or CONSNAME=. |
,CONSNAME= | If you code CONSID (or CONSNAME) on the list form of WTOR, you must code CONSID (or CONSNAME) on the execute form. |
,KEY= | Parameter value not required for list form. Code only KEY=. |
,TOKEN= | Parameter value not required for list form. Code only TOKEN=. |
,MF=L | |
The parameters are explained under the standard form of the WTOR macro, with the following exception: