Two parameter lists are used in a LINK or LINKX macro: a control program parameter list and problem program parameter list. Only the control program parameter list can be constructed in the list form of LINK or LINKX. Address parameters to be passed in a parameter list to the problem program can be provided using the list form of CALL. This parameter list can be referred to in the execute form of LINK or LINKX.
The list 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 |
|
␢ | One or more blanks must follow LINK or LINKX. |
EP=entry name | entry name: Symbol. |
EPLOC=entry name addr | entry name addr: A-type address. |
DE=list entry addr | list entry addr: A-type address. |
,DCB=dcb addr | dcb addr: A-type address. |
,PLIST8ARALETS=NO | Default: PLIST8ARALETS=NO |
,PLIST8ARALETS=YES | Note: PLIST8ARALETS is valid only with LINKX. |
,ERRET=err rtn addr | err rtn addr: A-type address. |
,LSEARCH=NO | Default: No |
,LSEARCH=YES | |
,AMODE64OK=NO | AMODE64OK is valid only with LINKX. |
,AMODE64OK=YES | Default: NO |
,SF=L | |
The parameters are explained under the standard form of the LINK and LINKX macros, with the following exception: