Problem solve Get help with specific problems with your technologies, process and projects.

Delete bulk spool files

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.

This was last published in August 2002

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.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.



  • How do I size a UPS unit?

    Your data center UPS sizing needs are dependent on a variety of factors. Develop configurations and determine the estimated UPS ...

  • How to enhance FTP server security

    If you still use FTP servers in your organization, use IP address whitelists, login restrictions and data encryption -- and just ...

  • 3 ways to approach cloud bursting

    With different cloud bursting techniques and tools from Amazon, Zerto, VMware and Oracle, admins can bolster cloud connections ...