Two parameter lists are available in the XCTLX macro: a control parameter list and an optional user parameter list. The control parameter list can be either inline or remote (that is, in an area you specifically obtained); the user parameter list must be remote.
The execute form of the XCTLX macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede XCTLX. |
XCTLX |
|
␢ | One or more blanks must follow XCTLX. |
(reg1), |
reg1 and reg2: Decimal digits or RX-type addresses, and in the order 2 through 12. |
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=(parm), | parm: RX-type address, or register (2) - (12). |
,PARAM=(parm),VL=1, | parm is one or more addresses, separated by commas. For example, PARAM=(parm,parm,parm) |
,LSEARCH=NO, | Default: LSEARCH=NO |
,LSEARCH=YES, | |
,PLIST4=YES | Default: None. |
,PLIST4=NO | |
,PLIST8=YES | Default: None. |
,PLIST8=NO | |
,PLIST8ARALETS=NO | Default: PLIST8ARALETS=NO |
,PLIST8ARALETS=YES | Note: PLIST8ARALETS is valid only with XCTLX. |
,MF=(E,user area) | user area: RX-type address, or register (1) or (2) - (12). |
,SF=(E,ctrl area) | ctrl area: RX-type address, or register (2) - (12) or (15). |
,MF=(E,user area),SF=(E,ctrl | |
area) | |
The parameters are explained under the standard form of the XCTL macro, with the following exceptions:
If running AMODE 64 and PLIST4=YES is specified, the system builds a 4-bytes-per-entry parameter list just as it would if the program were running AMODE 24 or AMODE 31 and did not specify PLIST4 or PLIST8.
If running AMODE 24 or AMODE 31 and PLIST8 is specified, the system builds an 8-bytes-per-entry parameter list just as it would if the program were running AMODE 64 and did not specify PLIST4 or PLIST8.
Use MF=(E,user area) to specify the address of data you want the target module to receive in register 1. If you specify PARAM, MF=(E,user area) is required and identifies the remote location where you want XCTLX to build the parameter list.
Use SF=(E,ctrl area) to point to a remote control parameter list. If you do not specify SF, XCTLX builds the control parameter list inline.