List PTF Group Details(QpzListPtfGroupDetails) API


  Required Parameter Group:


  Service Program Name: QPZGROUP

  Default Public Authority: *USE

  Threadsafe: No

The List PTF Group Details (QpzListPtfGroupDetails) API lists information for a specific level of a PTF group on the system. The information returned is determined by the format specified.


Authorities and Locks

Work with PTF Groups (WRKPTFGRP) command
*USE

User Space Authority
*CHANGE

User Space Library Authority
*EXECUTE

User Space Lock
*EXCLRD

Lock conflicts may occur if this API is called while another PTF or PTF group operation is in progress.


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:


PTF group information
INPUT; CHAR(*)

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

Format name
INPUT; CHAR(8)

The content and format of the information returned for this PTF group. The possible format names are:


CCSID for returned information
INPUT; BINARY(4)

The coded character set ID in which to return the PTF group name, description, and related PTF group names. Valid values are 0 through 65533. If a value of 0 is specified, the names and descriptions will be returned in the CCSID of the job.

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 PTF Group Information

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



Field Descriptions

Length of PTF group information. The length of the data in the PTF group information parameter, including this field. The valid values for this field are 69 or 76.

PTF group name. The name of the PTF group for which information is being requested. The name is limited to a maximum of 30 characters.

CCSID of PTF group name. The coded character set ID for the PTF group name specified in the PTF group information parameter. Valid values are 0 through 65533. If a value of 0 is specified, the name is assumed to be in the CCSID of the job.

Include related PTF groups. Whether to include information from all related PTF groups in the returned list information. The following values are valid:

Level. The level of the PTF group for which information is being requested. If the Length of PTF group information field is set to 69, this field will default to a value of 0. The following values may be used:


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



GRPR0200 Format List Section



GRPR0300 Format List Section



GRPR0500 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. The following values are valid:

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.

Date of special handling PTFs. The date the PTF group was last created with special handling PTFs. The date is specified in format yyyymmdd. The following special value is valid:

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

Latest superseding PTF ID. The identifier of the most recent supersede of this PTF that exists on the system. This field will be blank when the PTF does not have a superseding PTF.

Loaded status. The current loaded status of the PTF. The following values are valid:

Library name. The name of the library where the user space can be located. You can use these special values for the library name:

Maximum level. The indicator of the highest level of the product on which this PTF can be installed. If the minimum and maximum levels are the same, then this PTF can only be installed on one level of the product. The level can be AA to 99. This field will be blank if the product has no level.

Minimum level. The indicator of the lowest level of the product on which this PTF can be installed. If the minimum and maximum levels are the same, then this PTF can only be installed on one level of the product. The level can be AA to 99. This field will be blank if the product has no level.

Omit status. Whether the PTF should be omitted when installing the PTF group. The following values are valid:

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

Pre-apply status. Whether the PTF should be applied before the other PTFs when installing the PTF group. The following values are valid:

Product ID. The product identifier of the PTF.

Product load ID. The load ID of the product load for the PTF. A value of "CODE" indicates this PTF is for the code load of the product.

Product option. The option of the product for the PTF.

Product status. The current status of the product. The following values are valid:

PTF group description. The text description of the PTF group.

PTF group level. The level of the PTF group. A value of 0 indicates the PTF group level cannot be determined.

PTF group name. The name of the PTF group for which information is being requested.

PTF group status. The overall status of the PTF group on this system. The PTF group status is obtained using the status of all the PTFs listed within the PTF group as well as all PTFs listed in all related PTF groups. The level of the related PTF groups used is the highest level of the related PTF group that has a status of Installed or Apply at next IPL. If no levels of the related PTF group have a status of Installed or Apply at next IPL, the latest level of the related PTF group that exists on the system will be used. The following values are valid:

PTF ID. The identifier of the PTF in the PTF group.

Related PTF group name. The name of the related PTF group.

Start of change

Release. The version, release, and modification of the product. The release will be returned in one of the following formats:

End of change

Reserved. An error will be signaled if this field does not contain hexadecimal zeros.

Save file library name. The name of the library where the save file for the PTF is located. If no save file name has been reserved, this field will be blank.

Save file name. The name of the file where the save file for the PTF is located. You should use the save file status field to determine if a save file exists for this PTF. If no save file name have been reserved, this field will be blank.

Save file status. Whether a save file exists on the system for the PTF. The following values are valid.

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.

Target release. The release of the operating system on which the PTF group is to be used. Start of change The release level is specified in the format VxRyMz, where Vx is the version, Ry is the release, and Mz is the modification level.End of change PTF groups that have a target release lower than the currently installed operating system release and also do not contain any PTFs for installed or supported products are automatically deleted by the system. When this PTF group is not associated with an operating system release, this field will contain blanks.

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



API introduced: V5R2


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