|
IBM also has a tool here --> ftp://testcase.boulder.ibm.com/as400/fromibm/ApiSamples/ called IFSTOOL.SAVF. Included in it is a program(QRYIFSLIB) that works like the QRYDOCLIB command does for DLO objects. It creates a DB file with this layout: Field Name FMT Start Lngth Dec DIRNAME A 1 1992 FILENAME A 1993 1026 ST_MODE A 3019 9 ST_SIZE B 3028 18 00 ST_ATIME Z 3036 26 ST_MTIME Z 3062 26 ST_CTIME Z 3088 26 ST_BLKSIZE B 3114 9 00 ST_ALLOCSZ B 3118 18 00 ST_OBJTYPE A 3126 11 ST_UID A 3137 10 ST_GID A 3147 10 >From there easy queries and some RMVLNK's and away you go...... ------------------------- Bryan Dietz 3X Corporation 614-410-9205 midrange-l-bounces@xxxxxxxxxxxx wrote on 11/13/2003 01:51:34 PM: > http://www-1.ibm.com/support/docview.wss? > uid=nas193dec1bba489cfcc86256dc0006370f4&rs=110 > has information on a program for doing this. You tell it which directory to > start in, then it gives you the number of links in each subdirectory ( the > directory itself is one link) and the total size of those links. There are > also a couple items, "max directory depth" and "max directory width" that > may be weird at first. I think depth is the max # of directories down any > given tree, width is the # of directories directly under the directory you > specified. > > All it is, is a call to a program, generates a spooled file. > > Justin Haase originally posted herein some info on this. > > You could also use a Windows program, reading through the IFS tree with VB > or something like that. Or do a "dir /s" command in Windows. Or a recursive > "ls" in QShell. > > HTH > Vern > > At 12:50 PM 11/13/2003 -0500, you wrote: > >What do you all use for reporting utilization of IFS (I mean stream file > >systems, non-QSYS.LIB) space? > > > >Since starting a bunch of java development, space is being used like crazy > >and I don't have any good tools to find out where and by who. I am looking > >for something like the DISKTASKS menu Library report, only working on > >directories. It would be nice if it would ask me where to start and how many > >layers deep to go, and then give me a total byte count for all the files > >under each directory branch. I am looking for more of a batch reporting tool > >that I can run periodically rather than a real-time monitor. > > > >I'd hate to buy something because it doesn't sound that hard to write - I > >just don't have time right now. > > > >I have searched the archives bit haven't had much luck finding what I am > >looking for. > > > >I thought there were some PTFs issued a while back that added some IFS > >management commands (or I might have dreamt that). > > > >Thanks, > >-Marty > > > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. >
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.