Use the Reclaim Spool Storage (RCLSPLSTG) command or the Automatically clean up unused printer output storage (QRCLSPLSTG) system value to reclaim spooled file storage. These are the only allowable ways to remove spooled database members from the QSPL or QSPLxxxx libraries. Any other way can cause severe problems. For more information about spooled file storage, see Spooled file library.
Automatically clean up unused printer output storage (QRCLSPLSTG) system value
Use the Automatically clean up unused printer output storage (QRCLSPLSTG) system value to adjust the desired balance between spool performance and auxiliary storage. This system value can be used to cleanup unused printer output storage on system ASPs, basic user ASPs and independent ASPs. For more information see, Storage system values: Automatically clean up unused printer output storage in the System values topic.
Assume that one of your application programs had an error and it produced thousands of spooled files that were of no value to you. When this happened those spooled files used lots of storage space on your system. To reclaim the spool storage, do the following:
Reclaim Spool Storage (RCLSPLSTG) command
Another choice is to use the Reclaim Spool Storage (RCLSPLSTG) command with the DAYS parameter set to *NONE to immediately reclaim all empty spooled file members. This command can be used to cleanup unused printer output storage on system ASPs and basic user ASPs. This command cannot be used to cleanup unused printer output storage on independent ASPs.
Assume that one of your application programs had an error and it produced thousands of spooled files that were of no value to you. When this happened those spooled files used lots of storage space on your system. To reclaim the spool storage do the following:
System ASP storage
You can reduce the amount of storage taken up by spooled files by moving or creating spooled files directly into a user ASP or independent ASP. You can accomplish this by specifying *OUTQASP on the SPLFASP parameter when creating an output queue in a library that is located in the desired user ASP or independent ASP.
All spooled files you place in this output queue will have the spooled file data stored in the user ASP or independent ASP in a library QSPLxxxx where xxxx is the user ASP or independent ASP number.