Change MQ Namelist (CHGMQMNL)
- Where allowed to run
- All environments (*ALL)
- Threadsafe
- Yes
The Change MQ Namelist (CHGMQMNL) command changes a list of names in the namelist specified on the selected local queue manager.
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
NAMELIST | Namelist | Character value | Required, Key, Positional 1 |
MQMNAME | Message Queue Manager name | Character value, *DFT | Optional, Key, Positional 2 |
TEXT | Text 'description' | Character value, *BLANK, *SAME | Optional, Positional 3 |
NAMES | List of Names | Values (up to 256 repetitions): Character value, *BLANKS, *SAME, *NONE | Optional, Positional 4 |
Namelist (NAMELIST)
>The name of the namelist to be changed.
- namelist
- Specify the name of the namelist. The maximum length of the string is 48 bytes.
Message Queue Manager name (MQMNAME)
>Specifies the name of the message queue manager.
The possible values are:
- *DFT
- The default queue manager is used.
- message-queue-manager-name
- Specify the name of the queue manager.
Text 'description' (TEXT)
>Specifies text that briefly describes the namelist.
Note: The field length is 64 bytes and the maximum number of characters is reduced if the system is using a double byte character set (DBCS).
- *SAME
- The attribute is unchanged.
- description
- Specify no more than 64 characters enclosed in apostrophes.
List of Names (NAMES)
>List of names. This is the list of names to be created. The names can be of any type, but must conform to the rules for naming MQ objects.
- *SAME
- The attribute is unchanged.
- namelist
- The list to create. An empty list is valid.
Examples
>None
Error messages
>Unknown
Parent topic: CL commands reference for IBM i