Use the execute form of the WTOR macro together with the list form of the macro for applications that require reentrant code. The execute form of the macro stores the parameters into the storage area defined by the list form.
The message cannot be modified on the execute form of the macro if you code inline text (‘msg’...) on the list form.
The execute 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. |
,reply addr,reply length,ecb addr |
reply addr: RX-type address, or register (2) - (12). Note:
|
,RPLYISUR=reply console | reply console: RX-type address or register (2) - (12). |
,CART=cmd/resp token | cmd/resp token: RX-type address or register (2) - (12). |
,CONSID=console id | console id: RX-type address or register (2) - (12). |
,CONSNAME=console name | console name: RX-type address or register (2) - (12). If you code CONSID (or CONSNAME) on the execute form of WTOR, you must code CONSID (or CONSNAME) on the list form. |
,KEY=key | key: RX-type address or register (2) - (12). |
,TOKEN=token | token: RX-type address or register (2) - (12). |
,MF=(E,list addr) |
list addr: RX-type address, or register (1) - (12). |
The parameters are explained under the standard form of the WTOR macro, with the following exception:
list addr specifies the area that the system uses to store the parameters.