WTOR - List form

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.

Syntax

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
   length,ecb addr

TEXT=(,reply addr,reply
   length,ecb addr
)

msg:  Up to 122 characters.
reply addr:  A-type address.
reply length:  Symbol or decimal number.
The minimum length is 1; the maximum length is 119.
ecb addr:  A-type address.

Note:
  1. If you code ‘msg’,reply addr,reply length,ecb addr, it must be the first parameter you code.
  2. If you do not code reply addr on the list form of WTOR, mark its position with a comma, and code reply addr on the execute form. The same is true for reply length and ecb addr.
   
   ,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:
RESP
REPLY
NOTIME
BRDCST
   
   ,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=.
If you code RPLYISUR on the list form of WTOR, you must code
RPLYISUR on the execute form.

   
   ,CART=

Parameter value not required for list form.  Code only CART=.
If you code CART on the list form of WTOR, you must code CART
on the execute form.

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

   
   ,TOKEN=

Parameter value not required for list form.  Code only TOKEN=.
If you code TOKEN on the list form of WTOR, you must code
TOKEN on the execute form.

   
,MF=L  
   

Parameters

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

,MF=L
Specifies the list form of the WTOR macro.