Command summary for IBM MQ for z/OS
Use this topic as a reference of the main MQSC and PCF commands.
Table 1 summarizes the MQSC and PCF commands that are available on IBM MQ for z/OS to alter, define, delete and display IBM MQ objects.
MQSC command | ALTER | DEFINE | DISPLAY | DELETE |
---|---|---|---|---|
PCF command | Change | Create/Copy | Inquire | Delete |
AUTHINFO | X | X | X | X |
CFSTATUS | X | |||
CFSTRUCT | X | X | X | X |
CHANNEL | X | X | X | X |
CHSTATUS | X | |||
NAMELIST | X | X | X | X |
PROCESS | X | X | X | X |
QALIAS | M | M | M | M |
QCLUSTER | M | |||
QLOCAL | M | M | M | M |
QMGR | X | X | ||
QMODEL | M | M | M | M |
QREMOTE | M | M | M | M |
QUEUE | P | P | X | P |
QSTATUS | X | |||
STGCLASS | X | X | X | X |
- M = MQSC only
- P = PCF only
- X = both
There are many other MQSC and PCF commands which allow you to manage other IBM MQ resources, and carry out other actions in addition to those summarized in Table 1.
Table 2 shows every MQSC command, and where each command can be issued from:
- CSQINP1 initialization input data set
- CSQINP2 initialization input data set
- z/OS console (or equivalent)
- SYSTEM.COMMAND.INPUT queue and command server (from applications, CSQUTIL, or the CSQINPX initialization input data set)
Command | CSQINP1 | CSQINP2 | z/OS console | Command input queue and server |
---|---|---|---|---|
ALTER AUTHINFO | X | X | X | |
ALTER BUFFPOOL | X | X | X | |
ALTER CFSTRUCT | X | X | X | |
ALTER CHANNEL | X | X | X | |
ALTER NAMELIST | X | X | X | |
ALTER PSID | X | X | ||
ALTER PROCESS | X | X | X | |
ALTER QALIAS | X | X | X | |
ALTER QLOCAL | X | X | X | |
ALTER QMGR | X | X | X | |
ALTER QMODEL | X | X | X | |
ALTER QREMOTE | X | X | X | |
ALTER SECURITY | X | X | X | X |
ALTER STGCLASS | X | X | X | |
ALTER SUB | X | X | X | |
ALTER TOPIC | X | X | X | |
ALTER TRACE | X | X | X | X |
ARCHIVE LOG | X | X | X | X |
BACKUP CFSTRUCT | X | X | ||
CLEAR QLOCAL | X | X | X | |
DEFINE AUTHINFO | X | X | X | |
DEFINE BUFFPOOL | X | X | ||
DEFINE CFSTRUCT | X | X | X | |
DEFINE CHANNEL | X | X | X | |
DEFINE LOG | X | X | ||
DEFINE NAMELIST | X | X | X | |
DEFINE PROCESS | X | X | X | |
DEFINE PSID | X | X | X | |
DEFINE QALIAS | X | X | X | |
DEFINE QLOCAL | X | X | X | |
DEFINE QMODEL | X | X | X | |
DEFINE QREMOTE | X | X | X | |
DEFINE STGCLASS | X | X | X | |
DEFINE SUB | X | X | ||
DEFINE TOPIC | X | X | X | |
DELETE AUTHINFO | X | X | X | |
DELETE BUFFPOOL | X | X | ||
DELETE CFSTRUCT | X | X | X | |
DELETE CHANNEL | X | X | ||
DELETE NAMELIST | X | X | X | |
DELETE PROCESS | X | X | X | |
DELETE PSID | X | X | ||
DELETE QALIAS | X | X | X | |
DELETE QLOCAL | X | X | X | |
DELETE QMODEL | X | X | X | |
DELETE QREMOTE | X | X | X | |
DELETE STGCLASS | X | X | X | |
DELETE SUB | X | X | X | |
DELETE TOPIC | X | X | X | |
DISPLAY ARCHIVE | X | X | X | X |
DISPLAY AUTHINFO | X | X | X | |
DISPLAY CFSTATUS | X | X | ||
DISPLAY CFSTRUCT | X | X | X | |
DISPLAY CHANNEL | X | X | X | |
DISPLAY CHSTATUS | X | X | ||
DISPLAY CLUSQMGR | X | X | ||
DISPLAY CMDSERV | X | X | X | X |
DISPLAY CONN | X | X | X | |
DISPLAY CHINIT | X | X | X | |
DISPLAY GROUP | X | X | X | |
DISPLAY LOG | X | X | X | X |
DISPLAY NAMELIST | X | X | X | |
DISPLAY PROCESS | X | X | X | |
DISPLAY QALIAS | X | X | X | |
DISPLAY QCLUSTER | X | X | X | |
DISPLAY QLOCAL | X | X | X | |
DISPLAY QMGR | X | X | X | |
DISPLAY QMODEL | X | X | X | |
DISPLAY QREMOTE | X | X | X | |
DISPLAY QSTATUS | X | X | X | |
DISPLAY QUEUE | X | X | X | |
DISPLAY SECURITY | X | X | ||
DISPLAY STGCLASS | X | X | X | |
DISPLAY SUB | X | X | X | |
DISPLAY TOPIC | X | X | X | |
DISPLAY SYSTEM | X | X | X | X |
DISPLAY THREAD | X | X | X | |
DISPLAY TRACE | X | X | X | X |
DISPLAY USAGE | X | X | X | |
MOVE QLOCAL | X | X | X | |
PING CHANNEL | X | X | ||
RECOVER BSDS | X | X | X | X |
RECOVER CFSTRUCT | X | X | ||
REFRESH CLUSTER | X | X | X | |
REFRESH QMGR | X | X | X | |
REFRESH SECURITY | X | X | X | |
RESET CHANNEL | X | X | ||
RESET CLUSTER | X | X | X | |
RESET QSTATS | X | X | X | |
RESET TPIPE | X | X | ||
RESOLVE CHANNEL | X | X | ||
RESOLVE INDOUBT | X | X | X | |
RESUME QMGR | X | X | ||
RVERIFY SECURITY | X | X | X | |
SET ARCHIVE | X | X | X | X |
SET LOG | X | X | X | X |
SET SYSTEM | X | X | X | X |
START CHANNEL | X | X | ||
START CHINIT | X | X | X | |
START CMDSERV | X | X | X | |
START LISTENER | X | X | ||
START QMGR | X | |||
START TRACE | X | X | X | X |
STOP CHANNEL | X | X | ||
STOP CHINIT | X | X | ||
STOP CMDSERV | X | X | X | |
STOP LISTENER | X | X | ||
STOP QMGR | X | X | ||
STOP TRACE | X | X | X | X |
SUSPEND QMGR | X | X |