× 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.



We use a number of QSH commands to clean the IFS of old log files produced by JD Edwards.

I have recently instituted a special backup to SAVF of sensitive files that we are having to open up to new users to maintain. These are created in library SAVFPRDDTA with names like CFG200922 (CFGyymmdd). I need to put in place some regular purges of these daily backups.

What I don't have a feel for is how common/accepted would it be to use QSH commands to clean up files in the traditional file system? We would be using something like 'find /QSYS.LIB/SAVFPRDDTA.LIB -type f -name 'CFG*.FILE' -mtime +60 -exec rm {} \;'. This works, but I've never seen it done or demoed (though I could well have missed the examples). I could do a traditional dump of DSPOBJ or DSPFD and process the records, but it's not in my nature to create temporary files when the system can handle them better than I can.

So, acceptable? Reasonable? I really prefer to not branch out into 'experimental' approaches and have no idea where this would fall in the IBM i world.


_____________________________________________________________________
Spirax-Sarco Engineering Plc. This e-mail has been scanned for viruses by Cisco Cloud Email Security.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.