The same program using free calculations available starting in V5R1:Assume the ARMSTF1 example table was created using the following SQL Statement:The same program using free calculations and embedded SQL:As of V7R1 of the operating system, the above program would not necessarily need theprototype in a separate file, so it could be completely written as:Lastly, if you apply the compiler PTFs related Technology Refresh 7 (TR7) to your 7.1 operating system, then the above program can be coded completely in free-form — as follows:==Platforms==As stated above, the RPG programming language originally was introduced by IBM for their proprietary 1401, /360, /3, /32, /34, /36, /38 AS/400 and System i systems.