I have been asked by several people how they can check if their IBM i has the necessary PTFs loaded to use the new RPG all free.
I thought it would be useful to create a quick post showing how I would check for the PTF.
Your server must be running IBM i version 7.1. If your server is running 6.1 then the RPG enhancements may be introduced with a future CUM PTF. If you are running on V5R4 or earlier you will not be able to use these enhancements.
The PTF that introduced the RPG enhancements is SI51094. Any PTF that supersedes SI51094, any CUM PTF tape created after January 2014, or the next release, i.e. IBM i 7.2, will include this functionality.
To check if a PTF is present on your IBM i you would use the DSPPTF command thus:
DSPPTF LICPGM(5770WDS) SELECT(SI51094)
If the "Display PTF Details" screen is displayed the PTF is present.
If the message PTF 5770WDS-SI51095 *ALL not found is displayed the PTF is not present.
If the PTF has not been loaded ask your System Administrator to load it for you. Do remember to tell him/her that SI51094 might have been superseded by another PTF. Also ask them for PTF SF99701 level 26 or higher for the embedded SQL enhancements.
Both of these PTFs were loaded onto the IBM i I work on in less than an hour and without interruption to the users on the server.