Solved

Clear outq by date

Posted on 2008-10-20
3
1,427 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
Comment Utility
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
Comment Utility
thanks - I have this one
0
 
LVL 34

Accepted Solution

by:
Gary Patterson earned 125 total points
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction How to create multiboot configuration with XP\Vista and Windows 7 on it? And most important question - how to do this correctly so not to have any kind of nightmares we get when system gets screwed? First of all one should realize t…
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 gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

20 Experts available now in Live!

Get 1:1 Help Now