Solved

Clear outq by date

Posted on 2008-10-20
3
1,463 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
RDP Disconnect Problem with W8.1 5 36
Utilities to reset local Win 10 passwords 13 125
AS400 user directory 6 110
URL to download Windows 10 Enterprise 64-bit .ISO 4 273
Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

815 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

8 Experts available now in Live!

Get 1:1 Help Now