Table5. Parameters Passed to the Middle User Exit
INFILE Name of the Input spooled file
INNBR File number of the input spooled file
INTYPE Input type of spooled file (*SCS, *IPDS, *AFPDS, etc.)
JOBUSR Input creatingjob&csq;s user
JOBNAM Input creating job&csq;s name
JOBNBR Inputcreating job&csq;s number
INOQNM Input-outputqueue name
INOQLB Input-output queue library
INUSDT Input user data string
INFORM Input form type
INOBIN Input outbin
INPGNM Input creating programname
INPGLB Input creating program library
PRTDEF Name of the print definition that will be applied
PRTDLB Library of the print definition that will be applied
SUCFLG Empty
OTFILE Empty
OTOQNM Empty
OTOQLB Empty
OTHOLD Empty
OTSAVE Empty
OTUSDT Empty
OTFORM Empty
OTOBIN Empty
USRPRM Value from the User Parameter (before) field
User Exit After
A USER EXITAFTER program includes the library the program is in and a 20
character user parameter to be passed to the exit program. This program (that is
run for the EXTAFT phase) will be runafter the print engine creates the AFPDS
output spooled file, which is done during the PRTAFPphase that converts the
database to spooled file using the PRTAFPDTAcommand.
Following is the parameter structure passed by the APU print engine if a user exit
is called after the AFPDS output spooled file has been created:
AppendixB. User Exits 105