Enabling PSF for print job finishing

To request finishing, you specify the Medium Finishing Control (MFC) structured field in the Document Environment group of a form definition. See the Mixed Object Document Content Architecture Reference, AFPC-0004 for more information.

Header pages, separator pages, user's pages, message pages, and trailer pages are all considered separate data sets by PSF. The print job finishing function tells PSF to keep all of these data sets together in one finishing group. To use the print job finishing function to include the entire job in the finished group of output, you must specify the MFC structured field in the form definition used by the header page. The MFC structured field must specify a scope value of print job (X'06').

You specify the form definition used by the header page in the JOBHDR DD of the PSF startup procedure. Therefore, all printers that are defined to use this header form definition and all jobs sent to these printers have the print job finishing applied.

This is an example of a form definition used by the header page that requests that the entire job be stapled in the default corner:
FORMDEF    STPHDR
/*************************************************************/
/*  FINISH subcommand with PRINTJOB scope: corner staple     */
/*************************************************************/
     FINISH SCOPE PRINTJOB     OPERATION CORNER
           REPLACE yes;

For more information about coding print job finishing, see Page Printer Formatting Aid: User's Guide.

The following example shows the JCL in the PSF startup procedure used to reference the form definition with the finishing function for the header page:
//JOBHDR3  OUTPUT PAGEDEF=V06483,
//         FORMDEF=STPHDR,CHARS=60D8
                :
                :
//PRT619   CNTL
//PRT619   PRINTDEV FONTDD=*.FONT03,
//         FONT300=*.FONT03,
//         FONT240=*.FONT02,
//         OVLYDD=*.OLAY01,
//         PSEGDD=*.PSEG01,
//         PDEFDD=*.PDEF01,
//         FDEFDD=*.FDEF01,
//         JOBHDR=*.JOBHDR3,
                :
                :
//PRT619   ENDCNTL