|
Required Parameter Group:
Service Program: QPZLSTFX
|
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.
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:
The attributes of the product for which information is being requested. For more information on this parameter, see Format of Product Information.
The content and format of the information that is returned for each PTF. The possible format names are:
For more information, see PTFL0100 Format List Section.
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
For the detailed descriptions of each field,
see the Field Descriptions
| Offset | Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | CHAR(7) | Product ID |
| 7 | 7 | CHAR(6) | Release level |
| 13 | D | CHAR(4) | Option |
| 17 | 11 | CHAR(10) | Load ID |
| 27 | 1B | CHAR(1) | Include superseded PTFs |
| 28 | 1C | CHAR(22) | Reserved |
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.
Release level. The release of the product for which PTFs are requested.
You can use this special value for the release:
Reserved. This field must contain hexadecimal zeros.
The user space will contain:
For details about the user area and generic header, see User Space Format for List APIs. 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 API examples.
| Offset | Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | CHAR(10) | User space name specified |
| 10 | A | CHAR(10) | User space library name specified |
| 20 | 14 | CHAR(50) | Product information |
| 70 | 46 | CHAR(8) | Format name |
| Offset | Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | CHAR(10) | User space library name used |
| 10 | A | CHAR(10) | User space name used |
| Offset | Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | CHAR(7) | PTF ID |
| 7 | 7 | CHAR(6) | Release level of the PTF |
| 13 | D | CHAR(4) | Product option of the PTF |
| 17 | 11 | CHAR(4) | Product load of the PTF |
| 21 | 15 | CHAR(1) | Loaded status |
| 22 | 16 | CHAR(1) | Save file status |
| 23 | 17 | CHAR(1) | Cover letter status |
| 24 | 18 | CHAR(1) | On-order status |
| 25 | 19 | CHAR(1) | IPL action |
| 26 | 1A | CHAR(1) | Action pending |
| 27 | 1B | CHAR(1) | Action required |
| 28 | 1C | CHAR(1) | IPL required |
| 29 | 1D | CHAR(1) | PTF is released |
| 30 | 1E | CHAR(2) | Minimum level |
| 32 | 20 | CHAR(2) | Maximum level |
| 34 | 22 | CHAR(13) | Status date and time |
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.
If the action required field is 2 and you have performed the activation instructions, then the PTF is active. However, this field will not be updated until the next IPL.
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.
Format name. The format of the returned information that was requested.
IPL action. The action to be taken on this PTF during the next 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 information. The information about the product for which PTFs have been requested. For more information on this field, see Format of Product Information.
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 only set to 1 when the System Manager for AS/400 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:
Release level of the PTF. The release of the PTF.
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.
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:
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.
|
Top
| Software Product APIs
Software Product API list | APIs by category |
| [ Information Center Home Page ] | [ Legal | AS/400 Glossary ] |