Seiden Group
Modern Development & Open Source for IBM i
  • Link to LinkedIn
  • Link to Mail
  • Home
  • Seiden PHP+
    • Seiden PHP+
    • Install & Learn
    • SmartSupport
    • PHP Migrations & Upgrades
    • Success Stories
    • Free PHP Assessment
    • Documentation
    • What’s New (Changelog)
  • IBM i Services
    • Development
    • Training & Mentoring
    • Open Source Setup & Upgrades
    • SSL/TLS Install & Learn
    • Performance
  • Support
    • Open Source & PHP
    • VS Code for i
    • Developer Support
    • Support Success Stories
  • VS Code for i
    • Support
    • Training
    • Code for i Resource Guide
    • Getting Started Videos
    • Code for IBM i Fridays
  • Free Stuff
    • IBM i Strategy & Tips
    • PHP Upgrade Assessment
    • CNX Valence Assessment
    • VS Code for IBM i Resources
    • Code for IBM i Fridays
    • QCachegrind Download
    • PHP Toolkit for IBM i Resources
    • Qshell on i Library
  • Blog
  • About
    • About Our Team
    • About Alan Seiden
    • Speakers & Sessions
    • In the News
  • Contact
  • 201.447.2437
  • Search
  • Menu Menu

Seiden Group Blog

Find the Technology Refresh (TR) level of an IBM i

August 16, 2014/9 Comments/in Db2 for i, IBM i /by Alan Seiden

Between major IBM i releases, IBM ships frequent enhancements using the Technology Refresh (TR). Particular features are present with specific TR levels. SQL offers an easy way to identify the latest TR level on an IBM i system.

IBM i services comprise a collection of DB2 and SQL objects that provide a wealth of system information. The GROUP_PTF_INFO view will display an IBM i’s TR level to the user who runs this SQL:

1
2
3
4
5
SELECT CURRENT SERVER CONCAT ' is running ' CONCAT PTF_GROUP_TARGET_RELEASE
CONCAT ' with TR level: ' CONCAT PTF_GROUP_LEVEL AS TR_LEVEL
FROM QSYS2.GROUP_PTF_INFO WHERE PTF_GROUP_DESCRIPTION = 'TECHNOLOGY REFRESH'
AND PTF_GROUP_STATUS = 'INSTALLED' ORDER BY PTF_GROUP_TARGET_RELEASE, PTF_GROUP_LEVEL DESC
LIMIT 1;

When run on my server, the result was a single column, TR_LEVEL, with the value:

1
SEIDENI is running V7R2M0 with TR level: 3

Time for me to upgrade, yes?

Here is my original post with older techniques:

I recently needed to know if a client’s IBM i 7.1 system had Technology Refresh 4 (TR4). If it did, I could use the relatively new INSERT with remote SUBSELECT technique, which allows a single SQL statement to copy DB2 data from one partition to another. Such are the benefits of keeping current with Technology Refreshes.

After reading an article on TRs by Steve Will, I decided to document how to determine which TRs are installed on an IBM i system.

TRs, which were introduced with IBM i 7.1, are packaged as Program Temporary Fixes (PTFs). They can be found with the DSPPTF command.

First, determine the product number of the licensed internal code of  your system. For 7.1, the product number is 5770999.

Then use the DSPPTF command followed by this product number. For example:

1
DSPPTF 5770999

When run on my test system, this command produced a list of PTFs that included MF99007, MF99006, MF99005, MF99004, MF99003, MF99002, and MF99001.

Because Technology Refresh PTF numbers follow the format MF99nnn, where nnn is the TR number (bolded above), I knew that TR7, TR6, TR5, TR4, TR3, TR2, and TR1 were available. I was pleased to learn I could use TR4’s enhancements to DB2.

Tags: DB2, IBMi, Technology Refresh, TR
Share this entry
  • Share on Facebook
  • Share on X
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Reddit
  • Share by Mail
https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Alan Seiden https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Alan Seiden2014-08-16 15:56:082022-10-16 17:31:37Find the Technology Refresh (TR) level of an IBM i
Alan Seiden

About Alan Seiden

Alan works to preserve your investment in IBM enterprise systems by designing and implementing modernization strategies that leverage your existing business logic.

With a passion ...Read More

9 replies
  1. Roger Pam
    Roger Pam says:
    May 1, 2025 at 4:57 am

    Thanks for sharing

    Reply
  2. Rozé Olivier
    Rozé Olivier says:
    February 20, 2017 at 10:47 am

    Hi guys.

    I think there is something misunderstood : If I read http://m.ibm.com/http/www-947.ibm.com/systems/support/i/planning/techrefresh/faqs.html

    DSPPTF 5770999 for “How do I determine whether the Technology Refresh PTF is installed on a system, and what level is installed?”

    and

    WRKPTFGRP SF99707 for “How do I determine whether the Technology Refresh PTF Group is installed on a system, and what level is installed?”

    So DSPPTF for level installed, and WRKPTFGRP for GRPPTF installed.

    I think you can be in TR10 (MF99010 installed in DSPPTF 5770999) but not have SF99707 installed in WRKPTFGRP.

    Olivier.

    Reply
  3. stefant
    stefant says:
    January 27, 2017 at 5:24 am

    Excellent, I faced the challenge to validate the interoperability between my Storwize v7000 & the OS400 required PTF/TR level

    Reply
  4. Alex
    Alex says:
    September 8, 2016 at 12:14 pm

    Hi guys,

    we had a controversy with this as I always used the WRKPTFGRP command and we called IBM.
    This is wrong, the MF99xxxx PTFs just enables you yo have the TR, it does not mean you have the TR.
    The actual TR for V7.1 is on SF99707 (WRKPTFGRP and see the level on SF99707).
    Hope it helps.

    Alex.

    Reply
    • Alan Seiden
      Alan Seiden says:
      September 8, 2016 at 12:17 pm

      Thanks, Alex. I will verify and update the article if necessary.

      Reply
  5. Javier Mtnez-Morentin
    Javier Mtnez-Morentin says:
    April 25, 2016 at 4:27 am

    Thanks to all, just said that for V7.2 the comand is WRKPTFGRP PTFGRP(SF99717)

    Javier

    Reply
  6. CJKoontz
    CJKoontz says:
    August 10, 2015 at 5:38 pm

    Hi. According to IBM, you call also run this command —
    WRKPTFGRP PTFGRP(SF99707) , since SF99707 is the Technology Refresh PTF group for IBM i 7.1
    See: http://m.ibm.com/http/www-947.ibm.com/systems/support/i/planning/techrefresh/faqs.html

    Reply
    • Alan Seiden
      Alan Seiden says:
      August 10, 2015 at 5:59 pm

      Thank you, CJ. Your method (WRKPTFGRP) is quicker than the one I wrote about above. The page you linked to provides PTF group numbers for each release.

      Alan

      Reply
  7. Allen
    Allen says:
    June 10, 2015 at 3:55 pm

    This is just what I was looking for. Thank you.

    Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

SUBSCRIBE
Open Thinking
Monthly IBM i Strategy & Tips
  • This field is for validation purposes and should be left unchanged.

IBM i Development

  • RPG, COBOL, SQL, Node,
    PHP, Python, Valance, etc.
  • Modernization. Integration.
  • Web and API Solutions
  • Legacy Maintenance
    ...
LET'S GET IT DONE!

Recent Posts

  • PHP Security Updates for November 2026
  • Still Running Net.Data on IBM i? We Can Help
  • Mitigating the eMudhra Intermediate CA Compromise with IBM i
  • Critical php2shell Security Update Available in Seiden PHP+ Server
  • Moving to IBM i 7.6? An SDA Alternative with VS Code and IBM Bob
  • What’s New with Mapepire Database Connector for IBM i
  • Do You Need IBM i Observability?
  • PHP 8.6 is Coming Soon to IBM i
  • Safer npm installation is on the way for Node.js (and all JavaScript)
  • Protecting IBM i and Web Applications from Modern Threats

SEIDEN GROUP: Modern Development & Open Source for IBM i

Home   |   Seiden PHP+   |   IBM i Services  |   Support   |   VS Code for i   |   Free Stuff   |   Blog  |   Privacy Policy  |   Contact         201.447.2437

© 2026 Seiden Group, LLC
  • Link to LinkedIn
  • Link to Mail
Link to: ZendCon+Tutorial discount expires Aug. 31 Link to: ZendCon+Tutorial discount expires Aug. 31 ZendCon+Tutorial discount expires Aug. 31 Link to: Zendcon 2014 promo video for IBM i users Link to: Zendcon 2014 promo video for IBM i users Zendcon 2014 promo video for IBM i users
Scroll to top Scroll to top Scroll to top