|
You could use a DSPLNK *PRINT and then CPYSPLF but the FTP workaround is probably cleaner. -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Buzz Fenner Sent: Tuesday, March 08, 2005 3:20 PM To: Midrange Discussion Subject: Enumerate Files Is anyone familiar with a "green screen" method to enumerate file names in a directory on the IFS? A WRKLNK > directory_files.txt if you will? I have a situation where I'll be getting multiple files from an FTP site (using Scott Klement's cool procs), then bringing the data up to a DB2 file via CPYFRMSTMF's (appending the data as I go). So, I'm looking for a mechanism to identify the names of the stream files to use with the copy command. I did a quick scan of the API's and nothing jumped out at me. Anyone done this sort of thing? Buzz Fenner Systems Analyst/Network Administrator City Water & Light 870.930.3374 mailto:bfenner@xxxxxxxxxxxxxxxx -- 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.