How can I read OUTQ spool files and remove based on dates?

Tags:
AS/400
AS/400 Spool Files
Does anyone know How I can read OUTQ spool files and remove based on dates?
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 2  Replies

 
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.
  • pdraebel
    I have a program in use that is based on the QUSCRTUS (create user space) QUSLOBJ (List object) and QUSLSPL (List spool files) to clean up my output queues. It removes spooled files older than 8 days. You could write a utility based on the QUSLSPL Api to accomplish what you want. Examples can be found on the net.
    7,545 pointsBadges:
    report
  • TheRealRaven
    There are common tools available on the internet, usually named DLTOLDSPLF, and you can search for them with Google. IBM supplies one of them at Delete Old Spooled Files (DLTOLDSPLF) Sample RPG Program.

    You should search and compare various results to see if one option seems best for you.
    35,210 pointsBadges:
    report

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.

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

Following

Share this item with your network: