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:
You don't have the appropriate permissions.
No, open a new Support Case