|
Date: 3/27/98 10:16 AM RE: RE: IFS cleanup Ya, I wrote one. It's part of a package I sell. It also builds a IFS history tracking data base that shows you sizes, owners, every thing on the DSPLNK command. It has inquiries that allow you to see all the .EXE, or .DOC or .(whatever) within a directory, or across the board. Who owns what, etc. And more... It allows you to do trend things(how fast is this directory getting bigger) John Carr EdgeTech 804-739-7689 ph 804-739-7950 Fax 74711.77@compuserve.com Come on - do you mean to tell me that no one out there has a simple ILE RPG program to read through an IFS directory and retrieve the attributes of each file, such as date? Some one must have something like this. How do you cleanup old IFS files? Dave > ---------- > From: Leland, David[SMTP:dleland@harter.com] > Sent: Thursday, March 26, 1998 8:21 AM > To: 'MIDRANGE-L@midrange.com' > Subject: IFS cleanup > > I'm looking for a program that I can use to cleanup old files in the > IFS > file system. I'd like to be able to call this program and pass in two > parameters: directory, and date. The program should scan through all > the files in the directory and delete (unlink) any which are older > than > the date parameter. The QDLS file system is nice because the DLTDLO > command lets you specify the date. The IFS file system commands > DEL/ERASE don't have any such parameter. > > Does anyone have anything like this? Unfortunately, I don't have a C > compiler so my preference would be an ILE RPG program using the IFS > API's. I would like this to strictly be an AS/400 solution, (not a PC > program) so I can have it run automatically with our nightly Cleanup. > > Thanks! > Dave > > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.