These examples all perform the following function: pass control using the address of the entry name (XCTLEP), have registers 2 through 12 restored, and have the target module receive data in register 1. The control parameter list is inline.
XCTL (2,12),EPLOC=XCTLEP
When the target module receives control, register 1 contains the token.
XCTL (2,12),EPLOC=XCTLEP,MF=(E,ADDRDATA)
When the target module receives control, register 1 contains the address of ADDRDATA.
XCTLX (2,12),EPLOC=XCTLEP,LSEARCH=YES,MF=(E,PARM1)
When the target module receives control, register 1 contains the address of PARM1.
XCTLX (2,12),EPLOC=XCTLEP,PARAM=(DATA1,DATA2,DATA3),MF=(E,(3))
When the target module receives control, register 1 contains the address of the user parameter list that contains the fullword addresses of DATA1, DATA2, and DATA3, in that order.