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


WTO - Execute form

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

Use the execute form of the WTO 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’ or (‘text’...)) on the list form.

Syntax

The execute 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.
   
TEXT=(text addr)  
TEXT=((text addr,),(text addr,),...(text addr,))  
  text addr: RX-type address or register (2) - (12).
Note:
  1. If you code TEXT=(text addr) on the execute form of WTO, you must code TEXT= on the list form.
  2. If you specify inline text on the list form (‘msg’ or (‘text’...)), do not code the TEXT keyword on the execute form.
   
   ,CONNECT=connect field connect field: RX-type address or register (2) - (12). If you code CONNECT on the execute form of WTO, you must code the same parameter 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 WTO, you must code the same parameter on the list form.
   
   ,SYSNAME=system name system name: RX-type address or register (2) - (12). If you code SYSNAME on the execute form of WTO, you must code the same parameter 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 WTO, you must code CART on the list form.
   
   ,KEY=key key: RX-type address or register (2) - (12). If you code KEY on the execute form of WTO, 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 WTO, you must code TOKEN on the list form.
   
   ,JOBID=job id job id: RX-type address or register (2) - (12). If you code JOBID on the execute form of WTO, you must code JOBID on the list form.
   
   ,JOBNAME=jobname jobname: RX-type address or register (2) - (12). If you code JOBNAME on the execute form of WTO, you must code JOBNAME on the list form.
   
   ,LINKAGE=SVC Default: SVC
   ,LINKAGE=BRANCH If you code LINKAGE on the execute form of WTO, you must code LINKAGE on the list form.
   
   ,SYNCH=NO Default: NO
   ,SYNCH=YES  
   
   ,WSPARM=0 Default: 0
   ,WSPARM=wait state addr wait state addr: RX-type address or register (2) - (12).
  If you code WSPARM on the execute form of WTO, you must code WSPARM on the list form.
   
,MF=(E,list addr) list addr: RX-type address, or register (1) - (12).
   

Parameters

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

,MF=(E, list addr)
Specifies the execute form of the WTO macro.

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

Example

Write a message with a prebuilt parameter list pointed to by register 1.
WTO     MF=(E,(1))

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014