mqlicense (accept license post installation)
From IBM® MQ 9.2.0, use the mqlicense command on Linux® to accept an IBM MQ license after installation.
Purpose
On Linux (excluding IBM MQ Appliance), from IBM MQ 9.2.0, use the mqlicense command to accept
the IBM MQ license post installation.
Note: You must have
the appropriate privileges to run this command on your system, typically root access on Linux.
The license agreement is displayed in a language appropriate to your environment and you are prompted to accept or decline the terms of the license.
If possible, mqlicense opens an X-window to display the license.
If you need the license to be presented as text in the current shell, which can be read by a
screen reader, type the following command:
mqlicense -text_only
Syntax
Required parameters
None
Optional parameters
- -accept
- Accept the IBM MQ license without it being displayed.
- -jre
- Path to the Java executable used to display the license.
- -text_only
- Display a text-only version of the license, which can be read by a screen-reader.
Return codes
Return code | Description |
---|---|
0 | Successful completion. You can accept or decline the result, depending upon what you chose. |
10 | A warning occurred |
20 | An error occurred |
Usage notes
Note that running this command, with the environment variable MQLICENSE=accept, has the same effect as running with the -accept parameter.