Delete A File From The Ifs Of The Bible

I have been asked to create an automatic procedure which cleans out (ie delete) files older than 6 months. Transaction files keep coming into the system, and after having been processed (read) they are moved to an IFS directory 'archive'. We now have more than 90. Odkurzacz Program Pobierz. 000 files from last 26 months. I have considered various solutions like 'ls' to a file, and then read via pgm and execute delete, BUT something tells me that there is a better solution. I would like to do the job from a CL-pgm using STRQSH with some 'rm' command, but I got stuck in my investigations. Pls give me some thoughts on how to do this smart.

Dec 18, 2007 How do I delete an file on the ifs drive from a cl program on the as400. I use a cpyfrmimpf and then I want to delete from the ifs. Delete A File From The Ifs In The Bible. 3/12/2017 0 Comments. Using USMT How To Create a Custom.xml File. EXT2IFS is an Installable File System Driver.

Software/Hardware used: system i, v6r4. After a lot of investigation, I got created the one-statement-solution to my question. Since no one amongst you seems to know what I found out, I'll teach you the trick. If you insert the directory-path of the directory to search/delete old files into the following CL-statement the command will do the job of deleting fils older than 180 days.

STRQSH CMD('find [mydirpath] -type f -mtime +180 xargs rm') In short: the QSHELL command 'find' creates an internal list of files older than 180 days; - the lst is 'piped' (passed) to the delete-function ('xargs rm'). Free Software 3d Interior Design. Of course the 180-number may be changed to other values. Yet another proof tht we are working on a great machine - it also runs unix-commands:-) PS: Some may prefer two lines of code: CD [mydirpath] STRQSH CMD('find. -type f -mtime +180 xargs rm') best rgds DanF.

Brand Manual Novo Nordisk News. Miker, I tried to copy/paste your statement onto a 5250 commandline; the beginning and ending apostrophes were displayed as a dark rectangle; - this made me wonder about codepage!!! Well, having replaced your directory ('/MRTEST') with a directory that exists on my box, and replaced the two errorneous rectangle characters (x'1A') with apostrophes, and removed the piping of data (' xargs rm'), the statement looked like this: STRQSH CMD('find /wpa/ARKIV/WPA2ERP -type f -mtime +30') I pressed the Enter key, and the stement was executed without errors.

Delete A File From The Ifs Of The Bible