× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Dwayne,

I created a CL and RPG program to do this.

The CL does a WRKSPLF(*ALL) to *PRINT then copies the spool file to a physical. 
The RPG reads the physical then does a DLTSPLF using QCMDEXEC. In the RPG you 
can define what criteria to select/ignore. This is now in our job scheduler and 
deletes anything over 30 days old with the exception of one queue. Granted I 
had to run it for single output queues when I first set it up and over a number 
of weekends, but now it checks all outq's overnight and only takes a few 
minutes to run. Not the most up to date way to do it I am sure, but it works.

HTH  

Steve

 


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.