Auto Purging Spooled Files

120 pts.
Tags:
AS/400 printing
CLROUTQ
Besides clroutq does anyone know how I can purge old spool files from an outq using the file date?

Answer Wiki

Thanks. We'll let you know when a new response is added.

This command is in TAATOOL

Delete Old Spooled Files – TAA (DLTOLDSPLF)

——————————————————————

There are also sample programs in the Information Center on how to perform various tasks using system APIs. One example, <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apiref/apiexdelsp.htm”>Deleting old spool files</a>appears to demonstrate how to do what you want. Examples are provided with OPM RPG, OPM COBOL, and C though it wouldn’t be difficult to “upgrade” to ILE RPG/COBOL.

Bruce Vining
<a href=”http://www.brucevining.com/”>http://www.brucevining.com/</a>
Providing integrated solutions for the System i user community

==========================================================

In current releases of i5/OS, you can run CHGPRTF to specify EXPDATE(), and potentially DAYS(), to begin setting up more automated purging of spooled files. The DLTEXPSPLF command is used to delete spooled files that have reached expiration.

Tom

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

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

Forgot Password

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

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

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

Thanks! We'll email you when relevant content is added and updated.

Following