• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Know Your PTF Group Level Currency In 30 Seconds Or Less!

    August 4, 2015 Larry Bolhuis

    The IBM i is one of the easiest to maintain operating systems going. A big part of that is because IBM provides the hardware, operating system, and updates. Clearly the number of permutations are reduced dramatically. In addition, some problematic areas, such as video drivers, simply don’t exist in IBM i. So that’s it then, no need to update because we live in Utopia, right? Well, not so fast!

    Just because IBM provides all the pieces doesn’t mean they are either perfect or complete. Besides, there are many components and these are constantly being updated. Two examples are node.js and Python support, the latter of which just appeared this month. So no, you’re not off the hook when it comes to updates, sorry. But what do we update?

    Updates come for three primary areas:

    First is the Licensed Internal Code, which is the base part of the operating system. This code lives on the load source, or boot, drive of your system and there are two copies of it: the A and B copies. The Licensed Internal Code is identified as product number 5770999 for IBM i V7.

    Second is the operating system itself, including its built in tools like security, backup and recovery, and the DB2 database. This is product 5770SS1.

    Third are the various optional Licensed Program Products known as LPPs. These include the Web servers, TCP/IP, SQL, editors, compilers, and much more. Some of these are more mandatory than optional but they still fit this category. They use product numbers like 5770TC1 for TCP/IP and 5770ST1 for SQL and 5770DG1 for the http server.

    Does IBM update each of these independently? It depends! Often a fix is indeed for one single feature, such as a correction to the web server or an enhancement for SQL. But they also deliver updates in groups because it’s not at all difficult to envision that an update to SQL requires an update to DB2, which may require an update to the Licensed Internal Code! So let’s take a look at what IBM offers to update your system.

    Start with PTFs. The Program Temporary Fix is the delivery mechanism for updates from IBM through the life of your release. These are unique to each release, so you can’t put an IBM i 7.1 PTF onto an IBM i 7.2 system. If the issue being corrected affects two or more releases, that will be documented in the APAR (Authorized Program Analysis Report) and the fixing PTF for each affected release will be noted there. Unless we are diagnosing problems though we don’t usually get PTFs one or two at a time. And we don’t want to handle the scenario with cascading requirements by ourselves. Fortunately IBM provides PTF groups to help us update our system much more easily.

    IBM created PTF groups long ago, and there continue to be more of them with each release. To see the groups currently on your system, enter this command:

    WRKPTFGRP PTFGRPLVL(*LATEST)
    

    Below is the view I wish we got, because this view combines the group number, level, status, and text from the F11 screen all in one view brought to you by the magic of copy and paste. If I can fit them on one screen why can’t IBM? But I digress! The list will vary depending on which groups you have installed on your system. If the list includes only the top three then you’re missing out on a lot of PTFs!! You’ve got work to do!

                        Work with PTF Groups
                                                  System:   COMMON1
    PTF Group   Level  Status       Text
    SF99720     14276  Installed    CUMULATIVE PTF PACKAGE C4276720
    SF99719        29  Installed    GROUP HIPER
    SF99702         4  Installed    DB2 FOR IBM I
    SF99717         1  Installed    TECHNOLOGY REFRESH
    SF99767         1  Installed    720 TCP/IP PTF
    SF99776         1  Installed    HIGH AVAILABILITY FOR IBM I
    SF99775         6  Installed    HARDWARE AND RELATED PTFS
    SF99747        11  Installed    DB2 WEB QUERY FOR I V2.1.0
    SF99716         4  Installed    JAVA
    SF99715        10  Installed    BACKUP RECOVERY SOLUTIONS
    SF99714         2  Installed    PERFORMANCE TOOLS
    SF99713         6  Installed    IBM HTTP SERVER FOR I
    

    In the columns above you see the group PTF number used to order this group, its installed level and status, and some text describing it. What’s missing here? The currently available group level from IBM. From this list we have no idea whether Group HIPER, shown here as at level 29, is current or not. The traditional fix is to head on over to Fix Central, which you can find on the IBM Fix Central website.

    Log in and select your O/S level under Cumulative and group PTFs and click Continue. You will get a list all available groups (20 groups for i 7.2 and 27 of them for i 7.1). Each list item will look like this:

    Group: SF99719  Jun 30, 2015
    Release: V7R2M0
    Abstract: Group Hiper
    Level: 00036
    

    Here we can see that the current HIPER for i 7.2 at the time of writing is level 36. Comparing that to the table above where 29 is shown and you can see we’re a bit behind. Now repeat that for every group and order all the groups. Ugh! There has to be a better way, and there is!

    Instead, crank up SQL with STRSQL and enter this query:

    SELECT * FROM systools.group_ptf_currency
    

    You should see a list like this one:

    PTF_GROUP_CURRENCY          PTF_GROUP_ID  PTF_GROUP_TITLE
    
    UPDATE AVAILABLE                SF99481   720 WebSphere App Server V8.5
    UPDATE AVAILABLE                SF99702   720 DB2 for IBM i
    UPDATE AVAILABLE                SF99713   720 IBM HTTP Server for i
    INSTALLED LEVEL IS CURRENT      SF99714   720 Performance Tools
    UPDATE AVAILABLE                SF99715   720 Backup Recovery Solutions
    UPDATE AVAILABLE                SF99716   720 Java
    UPDATE AVAILABLE                SF99717   720 Technology Refresh
    UPDATE AVAILABLE                SF99719   720 Group Hiper
    UPDATE AVAILABLE                SF99720   Current Cumulative PTF Media Doc
    INSTALLED LEVEL IS CURRENT      SF99747   720 DB2 Web Query for i V2.1.0
    INSTALLED LEVEL IS CURRENT      SF99767   720 720 TCP/IP PTF
    UPDATE AVAILABLE                SF99775   720 Hardware and Related PTFs
    UPDATE AVAILABLE                SF99776   720 High Availability for IBM i
    

    So here in less than 10 seconds we know every group we need to update and those that are already current. Note that only groups you have loaded will be checked. So in the list above, for example, the Print PTF group is not shown as that group has not been loaded on this server. You may need to add groups that you identified on Fix Central to your system so that next time you can see if they are current.

    How do I make this work on MY system? (Because I know you just tried it and failed!) There are just a few things you need to do. First, you need to have the support that was delivered in DB2 PTF Group level 32 for i 7.1 and level 3 for IBM i 7.2. Second, you must have TCP/IP configured with the ability to resolve and access external domains. This function access a remote XML document that IBM provides here.

    So one test is to telnet to ‘www-912.ibm.com’ on port 80 like this:

    telnet 'www-912.ibm.com' port(80)
    

    Which should report this:

    Connecting to host www-912.rochester.ibm.com at address 129.42.160.32 using port 80.
    TELNET session ended. Connection closed.
    

    This is good. If you get “No response from remote host system” then you have some flavor of communications error, such as the inability to resolve host names, a blockage on your firewall, or a missing or incorrect default route.

    Finally you need to have your job at a CCSID other than 65535. For most of us in the U.S. CCSID of 37 is appropriate. That should do it!

    Note that you can scroll to the right in the view above to see more columns of information on the group levels and such. Mostly, however, just knowing which groups are out of date will get you going.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    ARCAD Software

    Embrace VS Code for IBM i Development

    The IBM i development landscape is evolving with modern tools that enhance efficiency and collaboration. Ready to make the move to VS Code for IBM i?

    Join us for this webinar where we’ll showcase how VS Code can serve as a powerful editor for native IBM i code and explore the essential extensions that make it possible.

    In this session, you’ll discover:

    • How ARCAD’s integration with VS Code provides deep metadata insights, allowing developers to assess the impact of their changes upfront.
    • The role of Git in enabling seamless collaboration between developers using tools like SEU, RDi, and VS Code.
    • Powerful extensions for code quality, security, impact analysis, smart build, and automated RPG conversion to Free Form.
    • How non-IBM i developers can now contribute to IBM i projects without prior knowledge of its specifics, while ensuring full control over their changes.

    The future of IBM i development is here. Let ARCAD be your guide!

    Register now!

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    BCD:  IBM i Ebook: The Business Case for IBM i Green Screen Modernization
    SystemObjects:  Send SMS, email & push messages from your IBM i applications!
    System i Developer:  Session Grid Posted: RPG & DB2 Summit - Chicago, October 20-22

    Legacy ERP Conversion Under Way At Dietz & Watson The IBM i Market Is Not Economics 101

    Leave a Reply Cancel reply

Volume 15, Number 15 -- August 4, 2015
THIS ISSUE SPONSORED BY:

WorksRight Software
PowerTech
OpenLegacy

Table of Contents

  • An Introduction To Processing XML With RPG, Part 1: The Basics
  • Where Do Library Lists Reside?
  • Know Your PTF Group Level Currency In 30 Seconds Or Less!

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • IBM Unveils Manzan, A New Open Source Event Monitor For IBM i
  • Say Goodbye To Downtime: Update Your Database Without Taking Your Business Offline
  • i-Rays Brings Observability To IBM i Performance Problems
  • Another Non-TR “Technology Refresh” Happens With IBM i TR6
  • IBM i PTF Guide, Volume 27, Number 18
  • Will The Turbulent Economy Downdraft IBM Systems Or Lift It?
  • How IBM Improved The Database With IBM i 7.6
  • Rocket Celebrates 35th Anniversary As Private Equity Owner Ponders Sale
  • 50 Acres And A Humanoid Robot With An AI Avatar
  • IBM i PTF Guide, Volume 27, Number 17

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle