Program temporary fix

From HandWiki

In IBM terminology, a Program temporary fix or Product temporary fix (PTF), sometimes depending on date,[1][2] is a single bug fix, or group of fixes, distributed in a form ready to install for customers.

A PTF normally follows an APAR (Authorized Program Analysis Report[3]), and where an "APAR fix" was issued, the PTF "is a tested APAR"[4] or set of APAR fixes. However, if an APAR is resolved as "Fixed If Next" or "Permanent Restriction" then there may be no PTF fixing it, only a subsequent release.

PTF installation

Initially, installations had to install service via a semi-manual process.[5]

Over time, IBM started to provide service aids such as IMAPTFLE[6] and utilities such as IEBEDIT[7] to simplify the installation of batches of PTFs. For OS/360 and successors, this culminated in System Modification Program (SMP) and System Modification Program/Extended (SMP/E).

For VM, this culminated in Virtual Machine Serviceability Enhancements Staged (VM/SP SES) and VMSES/E.

For DOS/360 and successors, this culminated in Maintain System History Program (MSHP)

PTF usage

PTFs used to be distributed in a group on a so-called Program Update Tape (PUT) or Recommended Service Upgrade (RSU), approximately on a monthly basis. They can now be downloaded straight to the system through a direct connection to IBM support. In some instances IBM will release a "Cumulative PTF Pack", a large number of fixes which function best as a whole, and are sometimes codependent. When this happens, IBM issues compact discs containing the entire PTF pack, which can be loaded directly onto the system from its media drive.

One reason for the use of physical media is size, and related (default) size limits. "By default, the /home file system on VIOS (Virtual I/O Server[8]) for System p is only 10GB in size."[9] If the "Cumulative PTF Pack" is larger than the default, "If you try (to) FTP 17GB of ISO images you will run out of space."

In z/OS, the PTFs are processed using SMP/E (System Modification Program/Extended) in several stages over a course of weeks. Each PTF may include HOLDDATA, in which case it is known as an exception SYSMOD. In rare cases an installation may install a single PTF, but normally it will install all available service except PTFs excluded by, e.g., aging policies, HOLDDATA. Details vary from installation to installation, but a simple service cycle would involve these steps:

  1. Download the most recent HOLDDATA
  2. RECEIVE (load) the service and HOLDDATA to the Consolidated Software Inventory (CSI)
  3. APPLY CHECK the service and HOLDDATA to list exception SYSMODs, verify that necessary prerequisites are available,and to list potential problems, e.g., errors.
    1. Review exception SYSMODs for, e.g., ACTION, DOC, holds.
    2. Update documentation to reflect the exception SYSMODs, and take any necessary actions
    3. Order and RECEIVE any missing prerequisites.
    4. RESTORE, REJECT, rework and re-APPLY any local exits or modifications affected by the service.
  4. APPLY the service to one system in a cluster (if available), and review the system's performance over multiple weeks to ensure it does not hinder your productivity or functionality
    1. Selectively BYPASS HOLDDATA when appropriate
  5. RECEIVE and APPLY the service to the production system and monitor its effects for several weeks

If the system is adversely affected by the service, a system administrator may sometimes selectively RESTORE (un-apply) it and seek further support from IBM. However, if no problems are found after the service is applied, it can be permanently installed, ACCEPTed (committed) to the system.

These repairs to IBM software are often in response to APARs submitted by customers and others and acted on by IBM, and are a common first step to resolving software errors. It is generally expected by the customer that the problem would be fully corrected in the next release (version) of the relevant product.

Comparison to APAR

At times[10] IBM software has a bug.

Once IBM has ascertained that the cause is not one of

  • third-party hardware
  • non-IBM software -or-
  • user-specified configuration errors,

IBM support staff, if they suspect that a defect in a current release of an IBM program is the cause, will file a formal report confirming the existence of an issue. This is referred to as an Authorized Program Analysis Report (APAR). See "APARs and PTFs". https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.0.0/com.ibm.mq.tro.doc/q040520_.htm. 

APARs also include

  • information on known workarounds
  • information on whether a formal fix is scheduled to be included in future releases, and
  • whether or not a Program Temporary Fix (PTF) is planned.[10]

Summary

There are at least 2 levels of fix:[11]

  • The APAR may result in an "APAR fix."
  • a permanent correction called a PTF.

The focus of the "APAR fix" is "to rectify the problem as soon as possible"[12] whereas the PTF "is a tested APAR... The PTF 'closes' the APAR. " Prior to that, an APAR is "a problem with an IBM program that is formally tracked until a solution is provided.”[4]

Humor

Customers sometimes explain the acronym in a tongue-in-cheek manner as permanent temporary fix[13] or more practically probably this fixes, because they have the option to make the PTF a permanent part of the operating system if the patch fixes the problem. One explanation of Program Temporary Fix says it's temporary, just until the next ice age.

See also

References

  1. In 2001 a long time IBMer wrote "I thought it was now Product Temporary Fix." "Should APARs be accepted". https://groups.google.com/d/topic/bit.listserv.ibm-main/Ir_Jp8C50KM. 
  2. Nonetheless PROGRAM temporary fix is still in use. "Traps do not process for CiscoAPIC models in CA Spectrum". September 11, 2017. https://support.ca.com/us/knowledge-base-articles.TEC1984606.html. 
  3. IBM Corporation. "IBM Security: APARs explained". https://www.ibm.com/support/pages/ibm-security-apars-explained. Retrieved Oct 14, 2019.  a formal report from IBM development to customers that have notified IBM of a problem or suspected defect.
  4. 4.0 4.1 Gabe Goldberg (June 12, 2013). "IBM's APAR process provides the tools for dealing with software issues". http://www.destinationz.org/Mainframe-Solution/Systems-Administration/APAR-Process-Provides-Tools-to-Deal-With-Software-. 
  5. IBM System/360 Operating System - Maintenance Program. C27-6918. 
  6. IBM System/360 Operating System: Service Aids - OS Release 21 (Third ed.). March 1972. pp. 219–239. GC28-6719-2. http://bitsavers.org/pdf/ibm/360/os/R21.0_Mar72/GC28-6719-2_Service_Aids_Rel_21_Mar72.pdf. 
  7. IBM System/360 Operating System - Utilities (Twelfth ed.). June 1970. pp. 392–402. GC28-6586-11. http://bitsavers.org/pdf/ibm/360/os/R19_Jun70/GC28-6586-11_Utilities_Rel_19_Jun70.pdf. 
  8. IBM Corporation. "Virtual I/O Server overview". https://www.ibm.com/support/knowledgecenter/TI0003M/p8hb1/p8hb1_vios_virtualioserveroverview.htm. Retrieved Oct 14, 2019. 
  9. Glenn Robinson (October 28, 2015). "Populating the VIOS Virtual Media Repository". http://powerwire.eu/tech-tip-populating-the-vios-virtual-media-repository. 
  10. 10.0 10.1 "Issues with Cognos and other IBM software can arise from configuration errors, problems in third-party hardware or software, and occasionally, because of a bug in the IBM product itself." "IBM Support – Authorized Program Analysis Reports". http://www.amitechsolutions.com/uncategorized/ibm-support-authorized-program-analysis-reports. 
  11. "An APAR fix is usually replaced later by a permanent correction called a PTF." Ebbers, Mike; Kettner, John; O'Brien, Wayne (2012). Introduction to the New Mainframe: z/OS Basics. ISBN 978-0738435343. https://books.google.com/books?isbn=0738435341. 
  12. Mehdi Salebi (August 7, 2011). "Diff between PTF,APAR,INTERMFIX". http://unix.ittoolbox.com/groups/technical-functional/ibm-aix-l/diff-between-ptfaparintermfix-4353121. 
  13. "PTF - Permanent Temporary Fix (humor)". https://www.acronymfinder.com/Permanent-Temporary-Fix-(humor)-(PTF).html. 

External links