List Program Temporary Fixes (QpzListPTF) API


  Required Parameter Group:


  Service Program: QPZLSTFX

  Default Public Authority: *EXCLUDE

  Threadsafe: No

The List Program Temporary Fixes (QpzListPTF) API returns a list of PTFs for the specified product, option, load, and release. The product must be supported or installed before the list of PTFs is returned.


Authorities and Locks

User Space Authority
*CHANGE

User Space Library Authority
*EXECUTE

User Space Lock
*EXCLRD

Required Parameter Group

Qualified user space name
INPUT; CHAR(20)

The user space that is to receive the generated list. The first 10 characters contain the user space name. The second 10 characters contain the name of the library where the user space is located. You can use these special values for the library name:



Product information
INPUT; CHAR(50)

The attributes of the product for which information is being requested. For more information on this parameter, see Format of Product Information.

Format name
INPUT; CHAR(8)

The content and format of the information that is returned for each PTF. The possible format names are:



Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Format of Product Information

For the detailed descriptions of each field, see Field Descriptions.



Field Descriptions

Include permanently removed PTFs. Whether to include PTFs that have a status of permanently removed in the list. A PTF that has been permanently removed and also requires a server IPL, is on order, or has a save file or cover letter will be included in the list regardless of the value specified. Valid values follow:

Include superseded PTFs. Whether to include superseded PTFs in the list. Valid values follow:

Load ID. The load ID for which PTFs are being requested. Load IDs are 10 characters in length. For example, 2924 is the load ID for an English national language version (NLV). You can use the following special value for the load ID:

Option. The option number for which PTFs are being requested. Use 0000 for the base option. Valid values are 0000 through 0099, where each character is a digit. You can use this special value for the option:

Product ID. The product ID for which PTFs are being requested.

Start of change

Release level. The release of the product for which PTFs are requested. The release can be passed as one of the following formats:

End of change

Reserved. This field must contain hexadecimal zeros.

Format of the Generated Lists

The user space will contain:

For details about the user area and generic header, see User spaces. For details about the remaining items, see the following sections. For detailed descriptions of the fields in the generated list returned, see Field Descriptions.

When you retrieve the list entry information from a user space, you must use the entry size returned in the generic header. The size of each entry may be padded at the end. If you do not use the entry size, the result may not be valid. For examples of how to process lists, see Examples: APIs and exit programs.


Input Parameter Section



Header Section



PTFL0100 Format List Section



Field Descriptions

Action pending. Indicates whether a required action has yet to be performed to make this PTF active. This field reflects the current status of any required actions.

Action required. An action is required to make this PTF active when it is applied. See the cover letter to determine what action needs to be taken. The following values are valid:

Cover letter status. Whether a cover letter exists for the PTF. The following values are valid.

Creation date and time. The date and time that the PTF was created. This value will be blanks when the creation date and time cannot be determined. The date and time field is in the CYYMMDDHHMMSS format:

Current IPL source. The copy of Licensed Internal Code that the system is currently operating from. The previous IPL of the system used this copy of Licensed Internal Code.

Current server IPL source. The copy of the server firmware that was used on the previous server IPL.

Server firmware status. The status of the server firmware that is currently active.

IPL action. The action to be taken on this PTF during the next unattended IPL. The following values are valid:

IPL required. An IPL is required to apply this PTF. The following values are valid:

Loaded status. The current loaded status of the PTF. A PTF can have any of the following statuses:

Note: These fields are returned as numbers instead of text because statuses are translatable text instead of special values. The text message that contains these values is CPX3501.

Maximum level. The indicator of the highest level of the product to which this PTF can be applied. The level can be AA to 99. This field will be blank if the product does not have a level.

Minimum level. The indicator or the lowest level of the product to which this PTF can be applied. The level can be AA to 99. This field will be blank if the product does not have a level.

On-order status. Whether the PTF has been ordered. The following values are valid:

Product load of the PTF. The load ID of the product load for the PTF.

Product option of the PTF. The option of the product to which the PTF applies.

PTF ID. The identifier of the PTF.

PTF is released. Whether the PTF save file is available for distribution to another system. This is set to 1 only when the System Manager for IBM® i licensed program is on the system and the product is supported. The user needs to check the PTF save file status before using this field. Possible values follow:

Start of change

Release level of the PTF. The release of the PTF. The release will be returned in one of the following formats:

End of change

Save file status. Whether a save file exists for the PTF. This field should always be checked to determine if a save file exists. The following values are valid.

Server IPL required. Indicates whether or not a server IPL must be performed in order to activate the changes for the PTF. Note that this field is obsolete as of V6R1M0 and will be set to 0. The possible values are:

Status date and time. The date and time that the PTF status was last changed. This value will be blank when the status date and time is not available. The date and time field is in the CYYMMDDHHMMSS format:

Superseded by PTF ID. The identifier of the PTF that has replaced this PTF. This field will be blank when the PTF is not superseded or when the superseding PTF has not been loaded on the system.

Start of changeTechnology refresh PTF. Whether the PTF is a technology refresh PTF. A technology refresh PTF is used to deliver a significant amount of new function between major releases. The following values are valid:

End of change

User space library name specified. The name specified for the library that contains the user space to receive the generated list.

User space library name used. The actual name of the library that is used to contain the user space that received the list.

User space name specified. The name specified for the user space that is to receive the generated list.

User space name used. The actual name of the user space that received the list.


Error Messages

Start of changeEnd of change

API introduced: V4R1

[ Back to top | Software Product APIs | APIs by category ]