mqlicense (accept license post installation)
Use the mqlicense command on Linux® to accept an IBM® MQ license after installation.
Purpose
On Linux (excluding IBM MQ Appliance) 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.
-check_only- Check whether the IBM MQ license has already been accepted 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 specifying the -accept parameter.
