Input for Exit 15

At entry to Exit 15, the registers contain the following information:

Register 1
Pointer to the address of the APSGEXTP area.
Register 13
Pointer to an 18-word save area in field ECAUSAVE for saving the caller's registers.
Register 14
Return address.
Register 15
Entry-point address.
The following fields in APSGEXTP are valid when Exit 15 is called:
XTPECAP
Address of the exit-communications area (APSUECA).
XTPJSPAP
Address of the job separator page data area for the data set being processed (IAZJSPA).
The following fields in APSUECA are valid when Exit 15 is called:
ECAUCOMP
Address of the exit table, APSUCOM.
ECAECEP
Address of the exit-communications area extension (APSUECE).
ECAUSAVE
Save area for the exit.
ECAFSTDS
Flag that is set when this data set is the first data set in the job group.
ECALSTDS
Flag that is set when this data set is the last data set in the job group.
ECAPTYPE
A value that indicates which program called the exit. X'02' indicates that the exit is called from Download for z/OS®; X'03' indicates that the exit is called from AFP Download Plus. Use this field if the exit needs to distinguish between Download for z/OS and AFP Download Plus calls.
ECAFORM
Forms value for a job. The value can come from JCL, the printer definition, or JES defaults.
The following fields in APSUECE are valid when Exit 15 is called:
ECEPDEVK
Address of the scheduler work block (SWB) token for the PRINTDEV statement.
ECEOUTTK
Address of the scheduler work block (SWB) token for the print data set's OUTPUT JCL statement.
ECEJDVTN
Print data set JDVT name.
ECETUPTR
Address of the SWBTU for the data set's OUTPUT JCL statement.
ECETULEN
Length of the SWBTU.
ECEX15P
Address of Exit 15 (when Exit 15 is written in assembly language).
ECEDSID
Data set ID assigned by JES. JES provides this ID in the functional subsystem interface (FSI) GETDS parameter list, in field GDSDSID. see z/OS MVS Using the Functional Subsystem Interface for more information about the GETDS parameter list.
ECEFORM
Forms value for a job. The value can come from JCL, the printer definition, or JES defaults.