Solved

as400 converyt fomr excel or txt file

Posted on 2011-02-17
1
384 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
[X]
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
1 Comment
 
LVL 18

Accepted Solution

by:
Dave Ford 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

705 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