× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: IFS cleanup
  • From: "Leland, David" <dleland@xxxxxxxxxx>
  • Date: Fri, 27 Mar 1998 08:18:21 -0500

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
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.