ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

processing a CSV file..

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • processing a CSV file..

    Does anyone have a nice example of RPG-FREE that reads a flat file, and splits out a record into seperate fields seperated by commas?

    I'm thinking of using the %scan

    Thanks
    www.midlifegamers.co.uk

  • #2
    Re: processing a CSV file..

    Huddy,

    So what is wrong with CPYFRMIMPF? It does this job quite nicely. I use it almost everyday to get stuff from PC's (via IFS) to the iSeries.

    HTH,
    MdnghtPgmr
    "Tis better to be thought a fool then to open one's mouth and remove all doubt." - Benjamin Franklin

    Comment


    • #3
      Re: processing a CSV file..

      Wow, Never heard of that .. Just tried it ..worked first time.. Have some stars
      www.midlifegamers.co.uk

      Comment

      Working...
      X