Software product APIs let you work with software products and program
temporary fixes (PTFs) on your system. With these APIs, you can:
Work with the software license management for a product
Create and delete product definition and product load objects
Package one or more product loads for a specified product option
Retrieve product information about a specific product load
Create PTFs, retrieve PTF information, and log PTF information
Retrieve a list of products
You may write exit programs that are called by programs and by program
temporary fixes (PTFs).
For information about packaging and managing software products, see the
System Manager
Use manual. The steps for packaging
a product are the same whether you use the System Manager licensed program
commands or the APIs in this section.
The software product APIs are:
Accept Software Agreement (QLPACAGR) records the acceptance of the software agreement for a product.
Allocate Licensed Internal Code (LIC) Space (QLPALCSP) is used prior to upgrading to the next release of the operating system to have licensed internal code (LIC) allocate any additional LIC space required for that release.
Check Target Release (QSZCHKTG) verifies that a valid target release value is specified on a CL command that supports the TGTRLS parameter.
Control PTF Order (QESCPTFO) allows you to prepare an order for individual PTFs, cumulative PTF package, PTF Group, summary information for available PTFs, and Preventive Service Planning (PSP) information.
Generate CD-ROM Premastering Information (QLPCDINF, QlpGenCdPremasteringInfo) generates the distribution set map file. This API also retrieves information about the files that were saved when the job was enabled for CD-ROM premastering using the Handle CD-ROM Premastering State (QLPCDRST, QlpHandleCdState) API.
Generate License Key (QLZAGENK) generates a license key to enable users to access a product or a feature of a product.
Handle CD-ROM Premastering State (QLPCDRST, QlpHandleCdState) enables and disables the job for CD-ROM premastering. This API also queries the current CD-ROM premastering job state.
Install Secondary Language (QLPISLNG) installs the secondary language that is specified during interactive mode or batch mode of installation.
List Product in a Save File (QLPLPRDS) generates a list containing product ID, release level, option, load type, and language ID for all product loads found in a save file.
List Program Temporary Fixes (QpzListPTF) returns a list of PTFs for the specified product, option, load, and release.
List PTF Group Details (QpzListPtfGroupDetails) lists information for a specific PTF group on the system.
List PTF Groups (QpzListPtfGroups) returns a list of all PTF groups that are known to the system.
List Registered Application Information (QSZLSTRA, QszListRegAppInfo) retrieves the results of a query of the iSeries Registered Application Information Repository.
Log Program Temporary Fix Information (QPZLOGFX) logs that a PTF has been received on the system and can be displayed or loaded from device *SERVICE.
Package Product Option (QSZPKGPO) packages one or more product loads for a specified product option.
Release License (QLZARLS) releases a use of the license for the product.
Request License (QLZAREQ) requests a use of the license for the product.
Retrieve License Key Information (QLZARTVK) retrieves the license key information for the specified product, license terms, and features for the specified systems from the license repository.
Retrieve Product Information (QSZRTVPR) retrieves information about a specific product load for a software product.
Retrieve Software Agreement (QLPRAGR) retrieves the software agreement acceptance status of a licensed program.
Retrieve Workload Capping Group Information (QLZRTVWC) retrieves information for the specified workload capping group. This information includes the configured processing capacity for the workload capping group and the products associated with the workload capping group.
Select Product (QSZSLTPR) displays or retrieves a list of products.
Set Application Server Support (QLZASPAS) provides an interface to set the support value for IBM i Application Server Processor Entitlements on the current partition.
Set Install Language (QINSTLNG) allows you to set the install language for the next operating system install.
Program Temporary Fix is called when a PTF is temporarily or permanently applied or removed with the Apply PTF (APYPTF) or Remove PTF (RMVPTF) commands.
QLPUSER is called during the automatic installation process and can be used by central sites when they are distributing products to remote locations.
Software Product Functions are specified when creating products that will be restored, deleted, saved, and checked with CL commands.