Solved

as400 converyt fomr excel or txt file

Posted on 2011-02-17
1
374 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DataMirror Latency 3 84
Ruby - Rails - iSeries 3 251
DB2 CONCAT FAILING 4 111
Configure e-mail alerts VMWare Esxi 5.5 on IBM x3650 Server 6 136
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

809 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