Command reference / sys

WRKLICINF

Work with License Information

The Work with License Information (WRKLICINF) command allows you to show or print specified products or features found on the system which contain license information. When no parameters are specified, a list of all products with license information is shown. This list allows you to change, display, or print the license information, to reset the peak usage information, or to work with the license users of a product or feature. The QSYS2.LICENSE_INFO view returns similar information. Restriction: This command is shipped with public *EXCLUDE authority.

Allowed environments: *ALL. Positional parameters: 2.

Parameters

PRDID Product identifier

Specifies the 7-character identifier (ID) of the product for which license information is to be displayed.

Type
*CHAR
Required
No
Default
*ALL
Length
7
Case
Uppercase

Suggested / special values: *ALL

*ALL
All of the products found on the system which contain license information are displayed.
product-identifier
Specify the seven-character ID of the product for which license information is to be displayed.
generic*-product-identifier
Specify the generic identifier for the products to be displayed. A generic product identifier is specified in the same manner as a generic name. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. A generic name specifies all objects with names that begin with the generic prefix for which the user has authority. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete object name.

OUTPUT Output

Specifies whether the output from the command is shown at the requesting work station or printed with the job's spooled output.

Type
*CHAR
Required
No
Default
*
Length
6
Case
Uppercase

Allowed values: *, *PRINT

*
The output requested is shown on the display.
*PRINT
The output is printed with the job's spooled output.

Examples

WRKLICINF PRDID(1MYPROD)

Showing License Information for a Product. This command shows product license information on your display station for the product with product identifier 1MYPROD.

WRKLICINF OUTPUT(*PRINT) PRDID(*ALL)

Printing All License Information. This command prints, with your job's spooled output, a list of all products on the system which contain license information.

IBM command documentation

Generated from os/cl/catalog/WRKLICINF.json and os/cl/help/WRKLICINF.json.