Command reference / msg
WRKMSGQ
Work with Message Queues
Shows a list of message queues and lets you display, change, delete, and clear the specified message queues.
Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC.
Positional parameters: 1.
Restrictions
- Only libraries you have *USE authority to are searched.
- Only message queues you have some authority to are shown.
- Operations require *USE authority to the command used by the operation, plus the appropriate authority to the message queues acted on.
Parameters
MSGQ
Message queue
Specifies which message queues are shown on the Work with Message Queues display. This is a required parameter. The qualifiers are the queue name (specific or generic) and the library.
*ALL- As the queue name, all message queues are shown. As the library, all libraries in the system, including QSYS, are searched.
*LIBL- All libraries in the thread's library list are searched.
*CURLIB- The thread's current library is searched; if none is set, QGPL is searched.
*USRLIBL- The current library and the user portion of the library list are searched; if no current library entry exists, only the user portion is searched.
*ALLUSR- All user libraries are searched, excluding Q-named libraries except the ones IBM lists as user-data libraries, and certain product libraries.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Message queue
Message queue
Suggested / special values:
*ALL
Library
Library
Suggested / special values:
*LIBL, *CURLIB, *USRLIBL, *ALLUSR, *ALL
Examples
WRKMSGQ MSGQ(PERSLIB/MQ*)
Displays the Work with Message Queues panel listing all message queues whose names begin with MQ in library PERSLIB.
Generated from os/cl/catalog/WRKMSGQ.json and os/cl/help/WRKMSGQ.json.