Retrieve License Key Information (QLZARTVK) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Retrieve License Key Information (QLZARTVK) API retrieves the license key information for the specified systems from the license repository. The information retrieved is about the specified product, license terms, and features. The license repository is used to store license key information. It contains a record for each license key for every unique product, license term, feature, and system. The repository may contain licenses for any system, and the product does not need to be installed.


Authorities and Locks

API QLZARTVK Authority
*PUBLIC(*EXCLUDE)

Required Parameter Group

Receiver variable
OUTPUT; CHAR(*)

The receiver variable that receives the information requested. You can specify the size of the area to be smaller than the format requested as long as you specify the length parameter correctly. As a result, the API returns only the data that the area can hold.

Length of receiver variable
INPUT; BINARY(4)

The length of the receiver variable provided. The length of receiver variable parameter may be specified up to the size of the receiver variable specified in the user program. If the length of receiver variable parameter specified is larger than the allocated size of the receiver variable specified in the user program, the results are not predictable. The minimum length is 8 bytes.

Format name for receiver variable
INPUT; CHAR(8)

The name of the format that identifies the type of license information to be retrieved.

The only format name supported is:


Product identification
INPUT; CHAR(*)

Information that uniquely identifies the product or feature whose license information is to be retrieved. The structure of this information is determined by the name of the format.

Product identification format name
INPUT; CHAR(8)

The name of the format that describes the product identification.

The only format name supported is:


System
INPUT; CHAR(*)

This indicates the system serial number for which licenses will be retrieved. The structure of this information is determined by the name of the format.

System format name
INPUT; CHAR(8)

The name of the format containing the systems.

The only format name supported is:


Error code
I/O; CHAR(*)

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


LICV0100 Format

The following table describes the format of the license key information returned in the receiver variable parameter. For a detailed description of the fields in this table, see Field Descriptions.



LICT0100 Format

The following information uniquely describes the product or feature whose license information is to be added. For a detailed description of the fields in this table, see Field Descriptions.



LICS0100 Format

The following information describes the systems for which the license information is to be retrieved. For a detailed description of the field, see Field Descriptions.



Field Descriptions

Bytes available. The number of bytes of data available to be returned. All available data is returned if enough space is provided.

Bytes returned. The number of bytes of data returned.

Expiration date. The date the license will expire.

The valid values are:

Feature. The feature of the product. Valid values for the feature are 5001 through 9999.

For the input parameter the valid special value is:

Length of license key record. The length of each license key record.

License key. The license key for the product, license term, feature, and system.

License term. The license term of the product.

Possible values are:

Start of change

Where the x and y can be a number from 0 through 9. Z can be a number 0 through 9 or a letter A through Z.

Where vv are any numeric characters 00 through 35 representing the version of the product, rr are any numeric characters 00 through 35 representing the release of the product, and mm can be 00 through 09 or 0A through 0Z representing the modification of the product.

End of change

Number of license key records. The number of license key records in the list.

Offset to license key records. The offset from the beginning of the receiver variable to the first license key record.

Processor group. The processor group for which this license is for. This field is left justified.

The valid values are:

Product identifier. The product identifier of the product or feature.

For the input parameter the valid special value is:

Reserved. Reserved for future use. If this field is input, character fields must be set to blanks and binary fields must be set to hexadecimal zeros.

System serial number. The system serial number.

For the input parameter, the valid special values are:

The special values are left justified. A value other than a special value must be right justified.

Usage limit. The usage limit for this license.

Vendor data. The data for this field comes from the software provider along with the license key information.


Error Messages



API introduced: V3R1

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