|
Found the following is all that's necessary:
ftp '166.nn.nnn.nn'
userid
pw
na 1
put /home/dodom1/ivrobjs.csv ivrobjs.csv
So, the complete process is:
Run a DB2 Query Manager query with the output to an outfile.
Run CPYTOIMPF to move/convert the outfile to a CSV file in the IFS, i.e., /home/dodom1/filename.csv
ftp '166.nn.nnn.nn'
userid
pw
na 1
put /home/dodom1/ivrobjs.csv ivrobjs.csv
Automate the above via REXX and i5 scheduler or invoke the REXX program interactively from a screen. This allows you to run a Query Manager query, convert its output to CSV and move it to a server where those that "need" the i5 data in Excel or Access can have it.
Thanks,
Dave
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.