|
Have a look at the ifstool.savf here ftp://testcase.boulder.ibm.com/as400/fromibm/ApiSamples/ There is a QRYIFSLIB program that was written exactly for this purpose. ifstool.savf AS/400 R450 savf with executable and source for: DELTREE Delete a directory and all subdirectories and files in it. DEL Recursive delete by pattern match such as *.eml. CHGAUTALL Runs CHGAUT on all files in a directory and all directories and files in subdirectories under it. CHGOWNALL Similar to CHGAUTALL but uses CHGOWN command. ATTRIB Set/clear all PC attributes of an IFS file or directory similar to the DOS ATTRIB command. \S option will accept a directory name and apply changes to all directories and files in that directory. QRYIFSLIB Dump information such as file size, owner, group, etc to outfile and sum directory size. RNMIFSF Rename an invalid file or directory name. DLTIFSF Delete a file from the IFS containing invalid characters. DSPLINK Display the actual location that a symbolic link references. CHGCCISD Change CCSID on one file or all files in a directory. CMDALL Runs specified command on all files in a directory and all directories and files in subdirectories under it. Any command that has the OBJ parameter can be used. ------------------------- Bryan Dietz 3X Corporation 614-410-9205 midrange-l-bounces@midrange.com wrote on 01/22/2003 01:33:47 PM: > > I'd like to get a list (output to a file) of files in an IFS directory, so > I can run some queries against it. Something similar to the DSPFLR > FLR(xxxx) TYPE(*DOC) OUTPUT(*OUTFILE) command for QDLS. Is there such a > thing, and if so, what is it? > > Thanks. > > > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l > or email: MIDRANGE-L-request@midrange.com > 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-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.