Table 5. 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 creating job&csq;s user

 

 

JOBNAM

Input creating job&csq;s name

 

 

JOBNBR

Input creating job&csq;s number

 

 

INOQNM

Input-output queue name

 

 

INOQLB

Input-output queue library

 

 

INUSDT

Input user data string

 

 

INFORM

Input form type

 

 

INOBIN

Input outbin

 

 

INPGNM

Input creating program name

 

 

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 EXIT AFTER 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 run after the print engine creates the AFPDS output spooled file, which is done during the PRTAFP phase that converts the database to spooled file using the PRTAFPDTA command.

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:

Appendix B. User Exits 105

Page 117
Image 117
IBM S544-5351-03 manual User Exit After, Parameters Passed to the Middle User Exit