The changing face of AS400 RPG (continued)

I have created a further 2 example AS400 RPG programs which do exactly the same updates as the examples in my previous post:

In the first example, I have specified the file SUPNAMES as being an Input Primary file.  This means that the RPG compiler automatically generates the code required to read the file from beginning to end.

In the second example, all native file access methods have been replaced by SQL.

The changing face of AS400 RPG

The changing face of AS400 RPG

I have been programming in AS400 RPG on the IBM System/38, AS400,  iSeries and i since 1988, that is over 25 years!! […]