Install Licensed Programs (QLPINSLP) API


  Required Parameter Group:


  Default Public Authority: *EXCLUDE

  Threadsafe: No

The Install Licensed Programs (QLPINSLP) API allows you to install IBM licensed programs without having to use the GO LICPGM menu interactively. It allows both an interactive mode and a batch mode of installation to install the licensed programs. Non-IBM Licensed Programs cannot be installed using this API. The system is required to be in restricted state when using this API to install IBM supplied libraries QGPL and QUSRSYS. The system is recommended to be in restricted state to install SS1 options 1 and 3.


Authorities and Locks

Device lock - optical media
*SHRUPD
Device lock - tape media
*EXCLRD
Product library lock
*SHRUPD

Note: No specific special authorities are required to use this API. However, just as with the GO LICPGM, *ALLOBJ and *SECADM special authorities are recommended when installing IBM licensed programs. There are no checks to ensure these special authorities as some IBM licensed programs will install properly without them.

Required Parameter Group

Install options
INPUT; CHAR(*)

The install options required for installing the IBM licensed programs. The format of the install options will depend on what format is specified on the Format Name parameter (NSLP0100 or NSLP0200).


Install options format name
INPUT; CHAR(8)

The format of the install options. You can use one of the following format names:


Interactive mode screen I/O indicator
INPUT; CHAR(1)

An indicator as to whether screen I/O is desired in interactive mode. Valid values are:

Note: When the API runs in batch mode, no screen I/O is provided regardless of the value of this indicator.

Error code
I/O; CHAR(*)

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


Install options format NSLP0100

For detailed descriptions of the fields in this table, see Field Descriptions.

Install options format NSLP0200

For detailed descriptions of the fields in this table, see Field Descriptions.

Format of licensed program information entry

The licensed program information entry describes the data that is required for the NSLP0200 format. For details about the fields listed, see Field Descriptions.



Field Descriptions

Automatic IPL. The supported values are:

Install option. Specifies the install option that should be used to install IBM licensed programs from media. The supported values are:

Installation device. The device name that has the media that contains the IBM licensed programs that will be installed. The device can be an optical or tape device.

Length of one licensed program information entry.The length of the licensed program information.

Licensed program.The licensed program identifier, optional part or IBM-supplied user library you want to install. If the licensed program specified is QGPL or QUSRSYS, the remainder of the field should be padded with blanks. Diagnostic message CPDB6E1 will be sent for each invalid licensed program found in the list. Invalid licensed programs include non IBM licensed programs, 57xx999 *BASE (Licensed Internal Code) and 57xxSS1 *BASE (Base operating system).

Nonaccepted agreement. During the installation of licensed programs, if the software agreement has not been previously accepted, the nonaccepted agreement option determines if the user will be prompted to accept or decline the software agreement, or if the install will continue without installing the licensed program. The supported values are:

Number of entries in licensed program information. The number of entries in the licensed program information.

Objects to install. The supported values are:

Offset to licensed program information.The offset from the start of the format to the start of the licensed program information.

Product option. The number or value associated with each part of a licensed program. All licensed programs have a base part and may have one or more numbered optional parts. The product option for the base would be specified as '0000'. Numbered optional parts should be specified as '00nn', where nn is the option number. For example, option 1 should be specified as '0001'. If QGPL or QUSRSYS was specified for the Licensed program field, then the Product option field will be ignored. The following special values are also allowed:

Replace if current. The supported values are:


Error Messages



API introduced: V7R2