I want to delete spool files that are 7 days and more old. Is there an easy way to do this? I am fairly new to the AS400. I know just a little about CL. Can this be done with a CL script?
If I'm understanding you correctly. at a command line type in go cleanup.
Select opt. 1 change cleanup options.
On Job logs and other system output . . . . . . . 20 Key in the number of days you want to keep spool files. We have it set at 20 days.
Make sure you have a time for the cleanup job to start. Usually early morning like 3:00 am
Download the file and restore it to your as/400. You can delete files in any outq. Create a cl and execute the command for each outq. Schedule it to run daily.
Henrik will send you an email asking how you like the pgm. There is no charge. I use this daily to maintain some control over outqs.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.