Solved

Clear outq by date

Posted on 2008-10-20
3
1,448 Views
Last Modified: 2013-12-06
is there a routine or command to clear output queue by date?
0
Comment
Question by:dllssn
3 Comments
 
LVL 4

Expert Comment

by:LewisPower
ID: 22761634
Hi DLLSSN,

1- If you have a 3th party like Robot/Schedule, you could use AGEOUTQ command. This command will delete a spoule file after a decided number (45 days per example).

2-Here is an old program that we were using a while ago. Maybe it could help you. In entry, you type username, outq and delete date... Just by changing a couple of lines and you could be in business...

Lewis
DLTOLDSPLF.txt
0
 

Author Comment

by:dllssn
ID: 22761790
thanks - I have this one
0
 
LVL 34

Accepted Solution

by:
Gary Patterson earned 125 total points
ID: 22768753
At V5R4 and later, you can use the native DLTEXPSPLF command to delete expired spooled files, based on the EXPDATE spooled file attribute.  This command is not available in earlier releases (though it should have been!).

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/cl/dltexpsplf.htm

You can set up a scheduled job to do this every day,  This Redpaper discusses the process of using DLTEXPSPLF in this fashion:

http://www.redbooks.ibm.com/redpapers/pdfs/redp4454.pdf

- Gary Patterson


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Service not starting 6 65
Tablets in POS (point of sale) environment 5 169
Utilities to reset local Win 10 passwords 13 121
Hibernate on windows 10 18 116
Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now