Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
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?
The easiest way is with QShell...
STRQSH CMD('ls > /home/buzz/directory_files.txt')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?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.