Reading a IFS text file from RPG


text filesHere another interesting post from Simon Hutchinson about reading a text file from RPG

RPGPGM.COM – Read an IFS file using RPG

Take a look also to this old post from Michael Sansoterra with a simple SQL UDF : Using SQL to read IFS text files … – TechTip: Using SQL with IFS Text Files



  1. I think there are many different solutions for reading a stream file (which probably all use the same C functions) as there is no central repository where we can search for libraries available for development on IBM i.

    So I also had done an implementation for this. See Input Providers on :

    Documentation at ILEDocs: