[IBM i]

WRKMQMPRC (Work with MQ Processes)

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

Table 1. Command 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.

You 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 application connected to the queue manager.
The possible values are:
*DEF
The attribute is unchanged.
*CICS
Represents a CICS®/400® application.
*UNIX
Represents a UNIX or Linux® application.
*OS400
Represents an IBM® i application.
*WINDOWS
Represents a Windows application.
*WINDOWS_NT
Represents a Windows NT application.
integer
User-defined application type in the range 65536 through 999999999.
*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.