Changing Spool File Names - Support

Changing Spool File Names

From Support

Jump to: navigation, search

Changing Spool File Names for Reports that are generated with AS/400 Query

Example CL Program:

The sample listed below changes the spool file name to RPT100.

/* Change report spool file name to RPT100  */
OVRPRTF FILE(QPQUPRFIL) SPLFNAME(RPT100)  

/* Run the Query  */
RUNQRY QRY(QGPL/RPT100Q)  

/* Remove report override  */
DLTOVR FILE(RPT100)
Personal tools