Queue commands
A table of queue commands, showing the PCF command, MQSC command, and control command equivalents. The REST API resource and HTTP method equivalents, and IBM MQ Explorer equivalents, are included if available.
PCF command | MQSC command | Control command | REST API resource and HTTP method | IBM MQ Explorer equivalent? |
---|---|---|---|---|
Change Queue |
ALTER QLOCAL ALTER QALIAS ALTER QMODEL ALTER QREMOTE |
No equivalent | PATCH /admin/qmgr/{qmgrName}/queue | Yes |
Clear Queue | CLEAR QLOCAL | No equivalent | Yes | |
Copy Queue |
DEFINE QLOCAL(x) LIKE(y) DEFINE QALIAS(x) LIKE(y) DEFINE QMODEL(x) LIKE(y) DEFINE QREMOTE(x) LIKE(y) |
No equivalent | Yes | |
Create Queue |
DEFINE QLOCAL DEFINE QALIAS DEFINE QMODEL DEFINE QREMOTE |
No equivalent | POST /admin/qmgr/{qmgrName}/queue | Yes |
Delete Queue |
DELETE QLOCAL DELETE QALIAS DELETE QMODEL DELETE QREMOTE |
No equivalent | DELETE /admin/qmgr/{qmgrName}/queue | Yes |
Inquire Queue | DISPLAY QUEUE | No equivalent | GET /admin/qmgr/{qmgrName}/queue | Yes |
Inquire Queue Names | DISPLAY QUEUE | No equivalent | Yes | |
Inquire Queue Status | DISPLAY QSTATUS | No equivalent | GET /admin/qmgr/{qmgrName}/queue | Yes |
Reset Queue Statistics | No equivalent | No equivalent | No |