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

Use an IBM i Service to Find Your Technology Refresh (TR) Level

May 1, 2017/3 Comments/in IBM i /by Alan Seiden

IBMi Technology RefreshWith another new IBM i Technology Refresh upon us, here’s a quick reminder how to find your server’s current TR level.

It’s getting easier and easier to do. An IBM i Service using DB2 and SQL provides the TR level more cleanly than older approaches. I love that we can use the universal SQL to expose the innards of our beloved system!

IBM i services comprise a collection of DB2 and SQL objects that provide a wealth of system information, not just your TR level.

The GROUP_PTF_INFO view is the service that displays an IBM i’s Technology Refresh (TR) level to the user who runs this SQL statement:

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 DESC, PTF_GROUP_LEVEL DESC
FETCH FIRST 1 ROWS ONLY

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?

We’ve worked with several organizations lately who want to ensure that their PHP components are not affected by their IBM i upgrade.

If you’d like our help, too, let me know.

 

Tags: DB2, IBM i service, IBMi, SQL, 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 Seiden2017-05-01 18:54:102023-05-19 10:26:30Use an IBM i Service to Find Your Technology Refresh (TR) Level
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

3 replies
  1. Emile Besseling
    Emile Besseling says:
    September 4, 2017 at 10:01 am

    Display the IBM i Technology Refresh with the following commands:

    on IBM i V7R3M0 : DSPPTFGRP PTFGRP(SF99727)
    on IBM i V7R2M0 : DSPPTFGRP PTFGRP(SF99717)
    on IBM i V7R1M0 : DSPPTFGRP PTFGRP(SF99707)

    The level displayed is the technology refresh level.

    Reply
    • Alan Seiden
      Alan Seiden says:
      September 4, 2017 at 6:49 pm

      Thank you, Emile. Yes, your approach is a good way to display TR levels from a 5250 screen. I wanted to show the power of SQL to perform the same task from any interface supporting SQL and how to customize the output as in the example above, “SEIDENI is running V7R2M0 with TR level: 3.” Thanks again for the commands you provided. Always good to know more than one way.

      Alan

      Reply
      • Larry Amond
        Larry Amond says:
        April 25, 2023 at 1:46 pm

        Great Info, but to take it one step further, try this:

        With iLevel(iVersion, iRelease) AS
        (
        select OS_VERSION, OS_RELEASE from sysibmadm.env_sys_info
        )
        SELECT P.*
        FROM iLevel, systools.group_ptf_currency P
        WHERE ptf_group_release =
        ‘R’ CONCAT iVersion CONCAT iRelease concat ‘0’
        ORDER BY ptf_group_level_available –
        ptf_group_level_installed DESC

        Not only will you see your TR level, you will see what the current version available is, and also for All PTF Groups that you have. And again, many thanks to Scott Forstie for these tools.

        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

  • Mitigating the eMudhra Intermediate CA Compromise with IBM i
  • Critical 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)
  • Access Modern Security for IBM i and Connected Web Environments
  • IBM i: A Natural Platform for Agentic AI
  • PHP on IBM i in 2026: The Modernization Engine

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: CIOs Unite Link to: CIOs Unite CIOs Unite Link to: #OceanTech17: Three Days of Inspiration in July Link to: #OceanTech17: Three Days of Inspiration in July #OceanTech17: Three Days of Inspiration in July
Scroll to top Scroll to top Scroll to top