z/OS MVS Programming: Authorized Assembler Services Reference SET-WTO
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


WTO - List form

z/OS MVS Programming: Authorized Assembler Services Reference SET-WTO
SA23-1375-00

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.

Syntax

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.
(‘text’) text: Up to 126 characters.
(‘text’,line type)
Note:
  1. If you code ‘msg’ or (‘text’...), it must be the first parameter you code.
  2. For a single-line WTO, the parameter value is not required on TEXT for the list form. Code only TEXT=. Then code TEXT=(text addr) on the execute form.
TEXT=  
TEXT=((,line type),(,line type),...(,line type))  
   
  The permissible line types, text lengths, and maximum numbers of each line type are shown below:
line type     text       maximum number
C             35 char    1 C type
L             71 char    2 L type
D             71 char    255 D type
DE            71 char    1 DE type
                or
E             None       1 E type
   
  The maximum total number of lines that can be coded in one instruction is 255.
   
   ,ROUTCDE=(routing code) routing code: Decimal digit from 1 to 128. The routing code is one or more codes, separated by commas, or a hyphen to indicate a range.
   
   ,DESC=(descriptor code) descriptor code: Decimal digit from 1 to 13. The desc code is one or more codes, separated by commas.
   
   ,AREAID=id char id char: Alphabetic character A - K, Z.
   
   ,MSGTYP=(msg type) msg type: Any of the following
N
SESS,JOBNAMES
Y
SESS,STATUS
SESS
JOBNAMES,STATUS
JOBNAMES
SESS,JOBNAMES,STATUS
STATUS
 
Note: IBM® recommends that you do not use MSGTYP=Y. See the MSGTYP explanation on page ,MSGTYP=(msg type) for more information.
   
   ,MCSFLAG=(flag name) flag name: Any combination of the following, separated by commas:
CMD
HRDCPY
RESP
NOCPY
REPLY
NOTIME
BRDCST
   
   ,CONNECT= Parameter value not required for list form. Code only ,CONNECT=. If you code CONNECT on the execute form of WTO, you must code the same parameter on the list form.
   
   ,CONSID= Parameter value not required for list form. Code only ,CONSID= (or ,CONSNAME=). If you code CONSID (or CONSNAME) on the execute form of WTO, you must code the same parameter on the list form.
   ,CONSNAME=  
   
   ,SYSNAME= Parameter value not required for list form. Code only ,SYSNAME=. If you code SYSNAME on the execute form of WTO, you must code the same parameter on the list form.
   
   ,CART= Parameter value not required for list form. Code only ,CART=. If you code CART on the list form of WTO, you must code CART on the execute form.
   
   ,KEY= Parameter value not required for list form. Code only ,KEY=. If you code KEY on the list form of WTO, 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 WTO, you must code TOKEN on the execute form.
   
   ,JOBID= Parameter value not required for list form. Code only ,JOBID=. If you code JOBID on the list form of WTO, you must code JOBID on the execute form.
   
   ,JOBNAME= Parameter value not required for list form. Code only ,JOBNAME=. If you code JOBNAME on the list form of WTO, you must code JOBNAME on the execute form.
   
   ,LINKAGE= Parameter value not required for list form. Code only ,LINKAGE=. If you code LINKAGE on the list form of WTO, you must code LINKAGE on the execute form.
   
   ,SYNCH=NO Default: NO
   ,SYNCH=YES  
   
   ,WSPARM= Parameter value not required for list form. Code only ,WSPARM=. If you code WSPARM on the list form of WTO, you must code WSPARM on the execute form.
   
,MF=L  
   

Parameters

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

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

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014