Monday, February 10, 2014

How to tell if you have the PTF for RPG all free

dspptf rpg tr7 ptf si51094

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.

5 comments:

  1. When do you think Rational Developer will catch up and allow syntax checking and conversion for the new free format features?

    ReplyDelete
    Replies
    1. RDi 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.

      Delete
  2. Never mind, RDi v9.0.1 was released in Dec.

    ReplyDelete
  3. Rational Developer for i already has fully free syntax checking! You'll need the latest patch, version 9.0.1

    ReplyDelete
  4. To 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.

    ReplyDelete

To prevent "comment spam" all comments are moderated.
Learn about this website's comments policy here.

Some people have reported that they cannot post a comment using certain computers and browsers. If this is you feel free to use the Contact Form to send me the comment and I will post it for you, please include the title of the post so I know which one to post the comment to.