Work with MQ Processes (WRKMQMPRC)
- Where allowed to run
- All environments (*ALL)
- Threadsafe
- Yes
The Work with MQ Processes (WRKMQMPRC) command allows you to work with multiple process 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 process object.
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
PRCNAME | Process name | 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, *APPID, *APPTYPE, *ENVDATA, *TEXT, *USRDATA | ||
Element 2: Filter operator | *GT, *LT, *EQ, *NE, *GE, *LE, *LK, *NL, *CT, *EX, *CTG, *EXG | ||
Element 3: Filter value | Character value |
Process name (PRCNAME)
>Specifies the name or names of the process definitions.
The possible values are:
- *ALL
- All process definitions are selected.
- generic-process-name
- Specify the generic name of the MQ process definitions. A generic name is a character string
followed by an asterisk (*). For example ABC*, it selects all process definitions 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.
- process-name
- Specify the name of the MQ process definition.
Message Queue Manager name (MQMNAME)
>Specifies the name of the queue manager.
The possible values are:
- *DFT
- Use the default queue manager.
- queue-manager-name
- The name of a message queue manager.
Filter command (WHERE)
>This parameter can be used to selectively display only those processes with particular process 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.
- *APPID
- The name of the application to start.
The filter value is the name of the application.
- *APPTYPE
- The type of the application to start.
The filter value is one of the following:
- *CICS
- CICS/400 application.
- *MVS
- MVS application.
- *IMS
- IMS application.
- *OS2
- OS/2 application.
- *DOS
- DOS application.
- *UNIX
- UNIX application.
- *QMGR
- Queue manager application.
- *OS400
- IBM i application.
- *WINDOWS
- Windows application.
- *CICS_VSE
- CICS/VSE application.
- *WINDOWS_NT
- Windows NT application.
- *VMS
- VMS application.
- *NSK
- Tandem/NSK application.
- *VOS
- VOS application.
- *IMS_BRIDGE
- IMS bridge application.
- *XCF
- XCF application.
- *CICS_BRIDGE
- CICS bridge application.
- *NOTES_AGENT
- Lotus Notes application.
- *BROKER
- Broker application.
- *JAVA
- Java application.
- *DQM
- DQM application.
- user-value
- User-defined application.
The filter value is the integer application type.
- *ENVDATA
- Environment data pertaining to the application.
The filter value is the environment data.
- *TEXT
- Descriptive comment.
The filter value is the text description of the queue.
- *USRDATA
- User data pertaining to the application.
The filter value is the user data.
Examples
>None
Error messages
>Unknown
Parent topic: CL commands reference for IBM i