Ask the Expert

Upload Excel files from a PC to the iSeries

I'm looking for the quickest and easiest way to upload Excel files from my PC to the iSeries. It's always easy 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 .


 

This was first published in June 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: