Ask the Expert

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 first published in August 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: