Deleting outq spool files for specific date range

35 pts.
Tags:
AS/400
AS/400 Spool Files
Is there a command I can run that will delete spooled files older then 14 days?

Software/Hardware used:
as400

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.

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

Discuss This Question: 4  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.

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
  • CharlieBrowne
    The quick answer is NO Many companies have user writen code to do this. Another option is to use the expiration date on printer files. That would help you in the future but not for current spool files.
    41,430 pointsBadges:
    report
  • CharlieBrowne
    If you write your own code, the most common way is to have the name of the output queue as input to the program. That was you do not do a global delete. There are legimate reasons to keep some spool files longer than 14 days.
    41,430 pointsBadges:
    report
  • planetae
    Oh ok thank you.
    35 pointsBadges:
    report
  • TomLiotta
    What OS version are you running?
    .
    And what spooled file attributes have you been setting to help manage spooled files? I.e., do you control the Form, spooled file name or User Data attributes (among others)?
    .
    IBM does provide example programming for a 'Delete Old Spooled Files' tool. See the Delete Old Spooled Files (DLTOLDSPLF) document for details. The code can be modified by you to customize it for your specific needs.
    .
    Tom
    125,585 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.

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