You can use the following ample CL program to set the user defined data (USRDFNDTA) when printing a report:

PGM
/* SET UP PRINTER OVERRIDE WITH EMAIL ADDRESS */
    OVRPRTF    FILE(RPT100P) USRDFNDTA(TEST@TEST.COM)
/* CALL PRINT PROGRAM */
    CALL    PGM(RPT100)
/* DELETE PRINTER OVERRIDE */
    DLTOVR    FILE(RPT100P)
    ENDPGM

 


Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016