Work with MQ Namelist (WRKMQMNL)
- Where allowed to run
- All environments (*ALL)
- Threadsafe
- Yes
The Work with MQ Namelists (WRKMQMNL) command allows you to work with multiple namelist definitions that are defined on the local queue manager. This enables you to copy, change, display, delete, display authority and edit authority of an MQ namelist object.
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
NAMELIST | Namelist | Character value, *ALL | Optional, Positional 1 |
MQMNAME | Message Queue Manager name | Character value, *DFT | Optional, Positional 2 |
WHERE | Filter command | Single values: *NONE Other values: Element list | Optional, Positional 3 |
Element 1: Filter keyword | *ALTDATE, *ALTTIME, *NAMECNT, *NAMES, *TEXT | ||
Element 2: Filter operator | *GT, *LT, *EQ, *NE, *GE, *LE, *LK, *NL, *CT, *EX, *CTG, *EXG | ||
Element 3: Filter value | Character value |
Namelist (NAMELIST)
>Specifies the name or names of the namelists.
The possible values are:
- *ALL
- All namelist definitions are selected.
- generic-namelist-name
- Specify the generic name of the MQ namelists. A generic name is a character string followed by
an asterisk (*). For example ABC*, it selects all namelists having names that start with the
character string.
You are recommended to specify the name required within quotation marks. Using this format ensures that your selection is precisely what you entered.
We cannot select all the uppercase and lowercase versions of a generic name on a single panel, without requesting all the names.
- namelist-name
- Specify the name of the MQ namelist.
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.
Filter command (WHERE)
>This parameter can be used to selectively display only those namelists with particular namelist attributes.
The parameter takes three arguments, a keyword, an operator and a value.
Generic strings are allowed for values which are names.
The operator can take one of the following values:
- *GT
- Greater than.
Applicable to integer and non-generic string values.
- *LT
- Less than.
Applicable to integer and non-generic string values
- *EQ
- Equal to.
Applicable to integer and non-generic string values.
- *NE
- Not equal to.
Applicable to integer and non-generic string values.
- *GE
- Greater than or equal to.
Applicable to integer and non-generic string values.
- *LE
- Less than or equal to.
Applicable to integer and non-generic string values.
- *LK
- Like.
Applicable to generic string values.
- *NL
- Not like.
Applicable to generic string values.
- *CT
- Contains.
Applicable to non-generic list values.
- *EX
- Excludes.
Applicable to non-generic list values.
- *CTG
- Contains generic.
Applicable to generic list values.
- *EXG
- Excludes generic.
Applicable to generic list values.
The keyword can take one of the following values:
- *ALTDATE
- The date on which the definition or information was last altered.
The filter value is the date in the form yyyy-mm-dd.
- *ALTTIME
- The time at which the definition or information was last altered.
The filter value is the time in the form hh:mm:ss.
- *NAMECNT
- The number of names in the namelist.
The filter value is the integer number of names.
- *NAMES
- The names in the namelist.
The filter value is the string name.
- *TEXT
- Descriptive comment.
The filter value is the text description of the queue.
Examples
>None
Error messages
>Unknown
Parent topic: CL commands reference for IBM i