List Product in a Save File (QLPLPRDS) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The List Product in a Save File (QLPLPRDS) API generates a list for all product loads found in a save file. This list contains:

The products must have been saved into the save file with the SAVLICPGM command. The list is placed in the specified user space. The generated list replaces any information in the user space.


Authorities and Locks

User Space Authority
*CHANGE
Library Authority
*EXECUTE
Save File Authority
Operational
User Space Lock
*EXCL
Save File Lock
*SHRRD

Required Parameter Group

Qualified user space name
INPUT; CHAR(20)

The user space that is to receive the created 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:


Format name
INPUT; CHAR(8)

The content and format of the information returned for each product code or language load.

The possible format names are:


Qualified save file name
INPUT; CHAR(20)

The name of the save file where the product was saved using SAVLICPGM. The first 10 characters contain the save file name, and the second 10 characters contain the name of the library where the file is located.

You can use these special values for the library name:


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 the Generated Lists

The list consists of:

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 list returned, see Field Descriptions.

When you retrieve 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.


Input Parameter Section



Header Section



PRDL0100 Format



Field Descriptions

Format name. The content and format of the information returned for each product.

The possible values are:

Language ID. The ID of the language found for the product in the save file. This field will be blank when the load type is *CODE.

Load type. The type of load found for the product in the save file.

The possible values are:

Product ID. The name of a product found in the save file whose product information is to be placed in the list.

Product option. A product option number found in the save file whose product information is to be placed in the list.

Release level. The version, release, and modification level of the product.

The Release level can be passed as one of the following two formats:

Save file library name specified. The name of the library containing the save file whose product information is to be placed in the list.

Save file library name used. The name of the library containing the save file whose product information is placed in the list.

Save file name specified. The name of the save file specified in the call to the API.

Save file name used. The name of the save file whose product information is placed in the list.

User space library name specified. The name of the library specified in the call to the API that contains the user space.

User space library name used. The name of the library that contains the user space that is to receive the generated list.

User space name specified. The name of the space specified in the call to the API.

User space name used. The name of the user space that is to receive the generated list.


Error Messages



API introduced: V3R1

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