I'm looking for the quickest and easiest way to upload Excel files from my PC to the iSeries. It's always easy...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
to download from the iSeries to PC excel files, but not the other way. The method I use to upload, which involves creating a DDS, uses Client Access data transfer to download to the PC just to get .FDF. Is there an easier way than this?
I don't think you'll find any OS/400 features that make it substantially easier. To do that, you'd probably need to buy a third-party data movement or replication product.
One approach would be using the CPYFRMIMPF CL command.
1. Define target table with DDS or SQL.
2. Export Excel file into delimited format.
3. FTP delimited format file to your iSeries server.
4. Use CPYFRMIMPF CL command to load the delimited format file into the target table.
================================== MORE INFORMATION ON THIS TOPIC ==================================
Search400.com's targeted search engine: Get relevant information on DB2/400.
The Best Web Links: tips, tutorials and more.
Check out this recent Search400.com Featured Topic: Ask the DB2 UDB doctor .
Dig Deeper on DB2 UDB (universal databases)
Related Q&A from Kent Milligan
To solve the SQL error -321 on IBM i6.1, use the new values statement to overcome the error. If you are using an older release, declare a cursor ...continue reading
To monitor members stuck within a physical file on AS/400, you can periodically use the display file description (DSPFD) command to create an output ...continue reading
When working with DB2 files with columns that have both short and long names, there is no option choose which column names are returned via ODBC ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.