Solved

as400 converyt fomr excel or txt file

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Fill Field in Displayfile with variable name 7 112
iSeries - Add Users to a Group 1 214
Compatibility MOVEX 10A on V6R1 9 87
RUNRMTCMD from AS/400 12 86
Enabling the Skype for Business Meeting Scheduler in Hybrid OWA
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

713 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