|
On Wednesday 22 January 2003 6:33 pm, mkrouse@co.ottawa.mi.us wrote: > 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? DSPLNK OBJ('/ifsdir') OUTPUT(*PRINT) is as close as the *LNK commands get - no *OUTFILE support :( You can also do something like: CRTPF FILE(IFSLIST) RCDLEN(250) OVRDBF FILE(STDOUT) TOFILE(IFSLIST) QSH CMD('ls -l /ifsdir/') then read (and parse) the IFSLIST file. Other than that I think you're into the Unix type API territory. Regards, Martin -- martin@dbg400.net AIM/Gaim: DBG400dotNet http://www.dbg400.net /"\ DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open \ / Source free test environment tools and others (file/spool/misc) X Debian GNU/Linux | ASCII Ribbon Campaign against HTML mail & news / \
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.