×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Pete,
If you use CPYFRMIMPF with the RCDDLM(*CRLF) and FROMRCD(2) parameters you can skip the .txt futzing in your process.
1) Save from Excel (I prefer CSV format)
2) FTP
3) Create table with columns
4) CPYFRMIMPF (from FTP import file to table)
Paul Morgan
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Pete Hall
Sent: Wednesday, November 09, 2011 8:54 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Upload excel sheet to DB2 file on AS400
On Wed, 09 Nov 2011 16:52:42 -0500, Ashish Kulkarni wrote:
Hi
I have an excel sheet how can i upload this file to AS400 DB2 table, is
there any excel plugin to do so or iseries navigator method?
I usually save the worksheet as a tab delimited .txt document from excel,
delete the column headings, and the trailing carriage return/linefeed
with a windoz editor like textpad, ftp it to my home directory in the i,
create an import table having columns that exactly match the excel
document, then copy the tab delimited file to the table with cpyfrmimpf.
Sounds more complicated than it really is. It's pretty fool-proof, and it
works every time.
As an Amazon Associate we earn from qualifying purchases.