|
Fritz, You can use the DIR command from www.ediconsulting.com (or search the Midrange archives using "opendir"). List to an outfile Read the outfile For each document do a call to stat(); Scott Klement has provided an RPG example to retrieve all kind of IFS info, I think this is also in the Midrange archives. I wrote a utilty, using both DIR (renamed DIRIFS) and Scotts' code (frontended it with a CDO) to do a similar thing. It even cleaned up subdirs. If interested I could share the code (with permission of the original authors, of course). Regards, Carel Teijgeler *********** REPLY SEPARATOR *********** On 31-1-06 at 11:52 Fritz Hayes wrote: >OK, so this will combine 2 of the last topices > >Here my challenge with IFS files. I'd like to select all files in an >IFS directory that are older than 60 days from today. Once selected, >delete them. My CL is very ugly at this time. (No I won't show it!) > >What's an elegant way of doing this?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.