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 .
Related Q&A from Kent Milligan
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
Create a host variable of the where in statement on the fly with dynamic SQL.continue reading
When developing tables in a parent-child relationship, use a primary key and a foreign key along with a unique ID to make your database easier to ...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.