Solved

Clear outq by date

Posted on 2008-10-20
3
1,519 Views
Last Modified: 2013-12-06
is there a routine or command to clear output queue by date?
0
Comment
Question by:dllssn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 35

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
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.

734 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