You can use the following sample 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([email protected])
/* 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: September 11, 2020