Home > Ask the AS/400 Experts > Questions & Answers > Make a spool file disappear
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Make a spool file disappear

Ken Graap EXPERT RESPONSE FROM: Ken Graap

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site
>
QUESTION POSED ON: 28 March 2003
How can I make a spool file disappear after seven days? I'm on V4R5.

>

You can't set an expiration date for a spool file. Once it has been placed on an *OUTQ it will remain there until it is deleted.

You could write a program that utilizes the QUSLSPL API to gather up information about specific spool files and then within your program, delete any that are older than seven days.

I personally use BRMS/400 to archive spool files to tape and then remove them from the system. The BRMS/400 archive policies allow me to define which files are archived based on several different criteria, including the age of the spool file. The advantage here is that I can recover a spool file if the user decides they need it again.

There are also several third-party software packages that provide commands for working with spool files.

With a little research you should be able to come up with the perfect solution for your needs.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your OS/400 questions--or help out your peers by answering them--in our live OS/400 discussion forums.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts