Solved

as400 converyt fomr excel or txt file

Posted on 2011-02-17
1
372 Views
Last Modified: 2012-05-11
I have an iseries 520 and am wondering how I would transfer an excel file or a text file back into the 520 into a library.  I can convert the excel I create into a text file if that is easier.  
0
Comment
Question by:mkramer777
1 Comment
 
LVL 18

Accepted Solution

by:
daveslash earned 250 total points
ID: 34917936

There are multiple ways to accomplish what you're trying to do.

One way involves using MS Access as an intermediate step. You suck in the Excel sheet into Access and export the Access data to an ODBC database defined to point at the AS/400. This method is "quick and easy", but the resulting data usually requires some massaging.

Alternately, you could save the Excel file into a comma-separated text file and use the CpyFrmImpF command to import the data into a database table. This method requires significant tweaking and testing, but it works well once you get it worked out.

HTH,
DaveSlash
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Ruby - Rails - iSeries 3 246
rpg d specs 5 89
AS/400 ODBC Connection 4 68
IBM 840 flash storage Array 3 157
Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
When we talk about DevOps toolchains, I sometimes wonder how many people really get what we’re talking about. I don’t know if it’s just semantics or tone or something else, but sometimes I think it just sounds like buzzword sausage. So it’s always …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now