|
Matt,
You could do...
FILES=/mydir/*.*
for i in ${FILES}
do
... call the program and pass "$i"
done
... or just call the FTP client from within CL, and do the rest in CL or call a
HLL program for it.
Kind regards,
Paul
----- Oorspronkelijk bericht -----
Van: MWHopkins@xxxxxxxxxxxxxxx [mailto:MWHopkins@xxxxxxxxxxxxxxx]
Verzonden: woensdag, december 8, 2004 02:58 PM
Aan: 'Websphere Development Studio Client for iSeries'
Onderwerp: [WDSCI-L] QShell links - *no wdsc content*
Does anyone have some good links on qshell scripts?
I need to run a proprietary FTP client (java) in qshell (which I have
already set up and run), but then I need to call a program and pass the
file name for each file received. I am thinking there is a way to retrieve
the directory listing (ls) then for each list entry call a program using
the list entry as one of the parms.
Any help would be appreciated.
Matt Hopkins
Sr. Programmer/Analyst
Web: www.pdpgroupinc.com
Email: MWHopkins@xxxxxxxxxxxxxxx
Office: 410-584-0330
Fax: 410-584-0336
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.