Add Queue Manager Information (ADDMQMINF)
- Where allowed to run
- All environments (*ALL)
- Threadsafe
- Yes
The Add Message Queue Manager Information (ADDMQMINF) command adds configuration information for a queue manager. This command may be used, for example, to create a secondary queue manager instance by adding a reference to shared queue manager data.
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
MQMNAME | Message Queue Manager name | Character value | Required, Positional 1 |
PREFIX | Queue Manager Prefix | Character value | Required, Positional 2 |
MQMDIR | Queue Manager Directory | Character value | Required, Positional 3 |
MQMLIB | Queue Manager Library | Name | Required, Positional 4 |
DATAPATH | Queue Manager Data Path | Character value | Optional, Positional 5 |
Message Queue Manager name (MQMNAME)
>Specifies the name of the message queue manager to add information for.
- queue-manager-name
- Specify the name of the queue manager. The name can contain up to 48 characters. The maximum number of characters is reduced if the system is using a double byte character set (DBCS).
Queue Manager Prefix (PREFIX)
>Specifies the prefix for the queue manager filesystem, for example, '/QIBM/UserData/mqm'
The possible values are:
- queue-manager-directory-prefix
- The prefix for the queue manager filesystem.
Queue Manager Directory (MQMDIR)
>Specifies the directory name for the queue manager filesystem. In most cases this will be the same as the queue manager name, unless the directory name has been modified to cater for characters that are not allowed in directory names, or to avoid a clash with an existing directory name.
The possible values are:
- queue-manager-directory-name
- The prefix for the queue manager filesystem. The name can contain up to 48 characters. The maximum number of characters is reduced if the system is using a double byte character set (DBCS).
Queue Manager Library (MQMLIB)
>Specifies the library to be used by the queue manager.
The possible values are:
- library name
- Specify the library to be used by the queue manager.
Queue Manager Data Path (DATAPATH)
>Specifies the fully qualified directory path for the queue manager data. This parameter is optional and if specified, overrides the prefix and directory name for the queue managers data files. Typically this parameter could be used to reference queue data stored on a networked filesystem, such as NFSv4.
The possible values are:
- queue-manager-data-path
- Specify the data path to be used by the queue manager.
Examples
>None
Error messages
>Unknown
Parent topic: CL commands reference for IBM i