WTOR - Execute form

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.

Syntax

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
TEXT=(text addr,reply addr,reply
 length,ecb addr)

reply addr:  RX-type address, or register (2) - (12).
reply length:  Symbol, decimal number, or register 2-12.
The minimum length is 1; the maximum length is 119.
ecb addr:  RX-type address, or register (2) - (12).
text addr: RX-type address or register (2) - (12).

Note:
  1. If you code reply addr,reply length,ecb addr, it must be the first parameter you code and must be preceded by a comma.
  2. If you specify inline text on the list form (‘msg’...), do not code the TEXT keyword on the execute form.
  3. If you do not code reply addr on the execute form of WTOR, mark its position with a comma, and code reply addr on the list form. The same is true for reply length and ecb addr.
   
   ,RPLYISUR=reply console

reply console:  RX-type address or register (2) - (12).
If you code RPLYISUR on the execute form of WTOR, you must
code RPLYISUR on the list form.

   
   ,CART=cmd/resp token

cmd/resp token: RX-type address or register (2) - (12).
If you code CART on the execute form of WTOR, you must code
CART on the list form.

   
   ,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).
If you code KEY on the execute form of WTOR, you must code
KEY on the list form.

   
   ,TOKEN=token

token: RX-type address or register (2) - (12).
If you code TOKEN on the execute form of WTOR, you must code
TOKEN on the list form.

   

,MF=(E,list addr)
,MF=(E,list addr,EXTENDED)

list addr: RX-type address, or register (1) - (12).
   

Parameters

The parameters are explained under the standard form of the WTOR macro, with the following exception:

,reply addr,reply length,ecb addr
If you code reply addr,reply length,ecb addr, it must be the first parameter you code and must be preceded by a comma.
,MF=(E,list addr)
,MF=(E,list addr,EXTENDED)
Specifies the execute form of the WTOR macro.

list addr specifies the area that the system uses to store the parameters.

If you specify reply addr, reply length, or ecb addr, on the execute form of WTOR, and any of the following parameters are specified on the list and/or execute form, you must specify EXTENDED for the system to generate the parameter list correctly:
  • KEY
  • TOKEN
  • CONSID
  • CONSNAME
  • TEXT
  • RPLYISUR
  • CART
  • SYNCH
  • Any value of ROUTCDE higher than 16