CL Command Reference - CHGLICINF

CL Command List > CHGLICINF Reference

Description:

The Change License Information (CHGLICINF) command allows a user to change the following license information for a product or feature:

The Change License Information (CHGLICINF) command allows a user to change the following license information for a product or feature:
. The usage limit for products that do not have keyed compliance (keyed compliance requires that you have a software license key from the software provider in order to change the usage limit of the license information)
. The threshold
. The users to notify when the threshold is exceeded, when an attempt to exceed the usage limit is made, or when the usage limit is changed
. The logging of usage requests.

Restriction: This command is shipped with public *EXCLUDE authority.


Examples:

Example 1: Changing the Usage Limit for a Product with One License Term on the System

CHGLICINF PRDID(1MYPROD) LICTRM(*ONLY)
USGLMT(35) THRESHOLD(30)
MSGQ(MYLIB/MYMSGQ) LOG(*NO)

This command allows you to change the usage limit for the product with product identifier 1MYPROD which has only one license term installed on this system. After this command is run, 35 users will be authorized to use this product. When the usage count reaches 31, messages will be sent to the system operator¡¯s message queue and the message queue MYMSGQ in the library MYLIB stating that the threshold has been exceeded. Requests for a license when the usage count is equal to the usage limit will not be recorded. However, changes to the usage limit will be recorded in the QLZALOG journal in QUSRSYS.



Example 2: Changing the Usage Limit for a Product with More Than One License Term on the System

CHGLICINF PRDID(2MYPROD) LICTRM(V2)
USGLMT(50) THRESHOLD(*USGLMT)
MSGQ(*NONE) LOG(*YES)

This command allows you to change the usage limit for the product with product identifier 2MYPROD and license term Version 2. After this command is run, 50 users will be authorized to use this product. No threshold messages will be sent. (However, messages will be sent to the system operator whenever the usage limit is changed or the usage count reaches or exceeds the usage limit.) A request for a license when the usage count is equal to the usage limit will be recorded in the QLZALOG journal in QUSRSYS.