LINK and LINKX—Execute form

Two parameter lists are used in a LINK or LINKX macro: a control program parameter list and an optional problem program parameter list. Either or both of these lists can be remote and can be referred to and modified by the execute form of LINK or LINKX. If only one of the parameter lists is remote, parameters that require use of the other parameter list cause that list to be constructed inline as part of the macro expansion.

Syntax

The execute form of the LINK or LINKX macro is written as follows:

Syntax Description
   
   name name: Symbol. Begin name in column 1.
   
One or more blanks must precede LINK or LINKX.
   

LINK
LINKX

 
   
One or more blanks must follow LINK or LINKX.
   
EP=entry name entry name: Symbol.
EPLOC=entry name addr entry name addr: RX-type address or register (2) - (12).
DE=list entry addr list entry addr: RX-type address, or register (2) - (12).
   
   ,DCB=dcb addr dcb addr: RX-type address, or register (2) - (12).
   
   ,PARAM=(addr) addr: RX-type address, or register (2) - (12).
   ,PARAM=(addr),VL=1 Note:  addr is one or more addresses, separated by commas. For example, (addr,addr,addr)
   
   ,PLIST4=YES PLIST4 is valid only with LINKX.
   ,PLIST4=NO Default: None.
   
   ,PLIST8=YES PLIST8 is valid only with LINKX.
   ,PLIST8=NO Default: None.
   
   ,PLIST8ARALETS=NO Default: PLIST8ARALETS=NO
   ,PLIST8ARALETS=YES Note: PLIST8ARALETS is valid only with LINKX.
   
   ,ID=id nmbr id nmbr: Symbol or decimal digit, with a maximum value of 4095.
   
   ,ERRET=err rtn addr err rtn addr: RX-type address or register (2) - (12).
   
   ,LSEARCH=NO Default: No
   ,LSEARCH=YES  
   
   ,AMODE64OK=NO AMODE64OK is valid only with LINKX.
   ,AMODE64OK=YES Default: NO
   
,MF=(E,prob addr) prob addr: RX-type address, or register (1) or (2) - (12).
,SF=(E,ctrl addr) ctrl addr: RX-type address, or register (2) - (12) or (15).

,MF=(E,prob addr),SF=(E,ctrl
 addr
)

 
   

Parameters

The parameters are explained under the standard form of the LINK and LINKX macros, with the following exceptions:

,MF=(E,prob addr)
,SF=(E,ctrl addr)
,MF=(E,prob addr),SF=(E,ctrl addr)
Specifies the execute form of the LINK or LINKX macro. This form uses a remote problem program parameter list, a remote control program parameter list, or both.
Note:
  1. Coding the LSEARCH parameter causes a parameter list to be created that is different from the list created when LSEARCH is omitted. If you code LSEARCH=YES in either the list or execute form of the macro, you must code it in both forms.
  2. If ERRET is coded in the list form and not specified in the execute form, the error routine specified in the list form will be retained and used in the execute form of the macro. If ERRET is specified in both the list and the execute form, the error routine specified in the execute form of the macro will be used.