Installing IP PrintWay exits

To install an exit, compile and link-edit the exit:
  • Name the exit:
    • For the Routing exit, use the name ANFUXRTG.
    • For the SMF exit, use the name ANFUXSMF.
    • For the Message exit, use the name ANFUXMSG.
    • For the Response Notification exit, use the name ANFUXRSP.
    • For the Begin Data Set exit, the Record exit, and the End Data Set exit, use any program name that is allowed by your system. Specify the exit name in one or more printer definitions.
  • Link-edit the exit with the RENT and AMODE 31 specifications. For a more secure environment, do not specify AC=1. AC=1, which makes a program APF-authorized, is not required because the IP PrintWay program is APF-authorized. When you omit AC=1, the exit runs APF-authorized only when IP PrintWay calls it.
  • If the Begin Data Set or End Data Set exit program calls the Block Letter program (ANFUBLK), use the sample JCL in SYS1.SAMPLIB(ANFULINK) to link-edit the exit with the Block Letter program (ANFUBLK) and the tables (ANFUBTBL).
Put your exits in a library that is in the system LNKLST or in an APF-authorized step library. If you put the exits in a step library, also:
IP PrintWay extended mode
Specify the step library in the STEPLIB environment variable. For information, see Setting environment variables for IP PrintWay (extended mode).

Also, add the library to the file specified by the STEPLIBLIST statement in the BPXPRMxx PARMLIB member. For information, see z/OS UNIX System Services Planning.

IP PrintWay basic mode
Specify the library in the STEPLIB DD statement in the IP PrintWay basic mode startup procedure. For information, see Editing the ANFWPROC startup procedure (basic mode).