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.
When do you think Rational Developer will catch up and allow syntax checking and conversion for the new free format features?
ReplyDeleteRDi 9.0.1 has had fully free support for some time now. SEU will never support fully free, or anything added to RPG since 6.1.
DeleteNever mind, RDi v9.0.1 was released in Dec.
ReplyDeleteRational Developer for i already has fully free syntax checking! You'll need the latest patch, version 9.0.1
ReplyDeleteTo be extra clear, you do NOT need to load TR7 in order to use the new RPG compiler support. All you need is the single PTF. This PTF was announced at the same time as TR7, so many people think they are related.
ReplyDeleteHi. What PTF ir required on V4R2?
ReplyDeleteSupport for V4R2 ended May 31, 2000. All of the cool stuff that has been released in the past few years, including this, is not available for that old release.
DeleteHello,
ReplyDeleteI'm developer in rpg with iSeries V7R1, the ptf SI51094 is installed and group ptf sf99701 is in level 27 but i can't work with free format.
Please what is wrong ?
You have not given any information to what exactly the problem is.
DeleteAre you getting an error message when you try to edit in free format?
Is there an error when you compile?
etc.
Please give more information so I csn try to assist you.