Spooled file names
When spooled files are created, the spooled file name is typically the same as the name of the printer file that was used to create it. For example, if the Print key is pressed, the spooled file is called QSYSPRT, because QSYSPRT is the printer file used by the Print key operation.
There are several ways in which the spooled file can have a different name:
- The Override with Printer File (OVRPRTF) command was used and
a name was specified in the SPLFNAME parameter. For example, typing
the following command:
causes the name of the spooled file to be REPORT1 instead of QSYSPRT.OVRPRTF QSYSPRT SPLFNAME(REPORT1)
- The OVRPRTF command was used and a different printer file is specified
in the TOFILE parameter. For example, typing the following command:
causes the spooled file to be called PRTF2 (the name of the printer file specified in the TOFILE parameter of the OVRPRTF command).OVRPRTF QSYSPRT TOFILE(PRTF2)
- Some IBM® applications might create spooled files that have names different from the printer files used to create them. Users have no control over spooled file names in this situation.