Reading a csv file is simple with Python.

This article outlines it pretty well.

A reason you wouldn't want cpyfrmimpf is because you may want to do
additional manipulation on the data before putting it in the db. Also may
want to eliminate fields.

Will you run this on IBM i or on a Windows/Linux machine?


On Mon, Jun 17, 2019 at 4:03 PM Mike Loyd <mloyd@xxxxxxx> wrote:

Hi all
This is my first post so here goes.
I need to take a CSV file in the IFS on the iSeries and write the data to
a data base file.
I am looking at Python to do this. I already have a script to get a XLS
spread sheet to a data base file.
I have a simple script to read and print a CSV file. So, I need that piece
to parse the CSV file and write the data.

Thanks in advance.

Mike Loyd
Sr. Software Engineer
Recreational Equipment, Inc. (REI)
' o: 425-278-8265
| * mloyd@xxxxxxx<mailto:mloyd@xxxxxxx> |<>

This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives

Help support by shopping at with our affiliate

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.