We currently have 250 output queues that contain spool files. It is required that we keep spool files up to one month old. Is it anyway possible to specify a date range when deleting spool files?
eg.dltsplf qsecofr fromdate(010602) todate(140702)
There are some third-party utilities available that will accomplish this task for you. The AS/400 Web site has a utility called CLNOUTQ. You can find and download it from their Web site. It works well. I use it myself. However, if you are good at working with APIs, you can investigate which APIs you could call in a program to get the date of the spool file.
Dig deeper on Performance
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.