Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

as400 converyt fomr excel or txt file

Posted on 2011-02-17
1
379 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
AS/400 ODBC Connection 4 81
IBM TS3100 Tape Library - error Status: Drive Sled missing 2 694
IBM MQ moving messages from error queue 4 151
Monitor SQL Insert 8 74
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

860 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