Table 9 shows the full list of WebSphere MQ functions that you may need when setting up and controlling channels. The channel functions are explained in this chapter.
For more details of the control commands that you issue at the command line, see the WebSphere MQ System Administration Guide book for WebSphere MQ for AIX, iSeries, HP-UX, Linux, Solaris, and Windows systems, and MQSeries V5.1 for Compaq Tru64 UNIX, and OS/2 Warp.
The MQSC commands are fully described in the WebSphere
MQ Script (MQSC) Command Reference book.
Function | Control commands | MQSC | WebSphere MQ Explorer equivalent? | WebSphere MQ Service snap-in equivalent? |
---|---|---|---|---|
Queue manager functions | ||||
Change queue manager |
| ALTER QMGR | Yes | No |
Create queue manager | crtmqm |
| Yes | Yes |
Delete queue manager | dltmqm |
| Yes | Yes |
Display queue manager |
| DISPLAY QMGR | Yes | No |
End queue manager | endmqm |
| Yes | Yes |
Ping queue manager |
| PING QMGR | No | No |
Start queue manager | strmqm |
| Yes | Yes |
Add a queue manager to Windows systems Service Control Manager |
|
| No | Yes |
Command server functions | ||||
Display command server | dspmqcsv |
| No | Yes |
End command server | endmqcsv |
| No | Yes |
Start command server | strmqcsv |
| No | Yes |
Queue functions | ||||
Change queue |
| ALTER QALIAS
ALTER QLOCAL ALTER QMODEL ALTER QREMOTE | Yes | No |
Clear queue |
| CLEAR QLOCAL
CLEAR QUEUE | Yes | No |
Create queue |
| DEFINE QALIAS
DEFINE QLOCAL DEFINE QMODEL DEFINE QREMOTE | Yes | No |
Delete queue |
| DELETE QALIAS
DELETE QLOCAL DELETE QMODEL DELETE QREMOTE | Yes | No |
Display queue |
| DISPLAY QUEUE | Yes | No |
Process functions | ||||
Change process |
| ALTER PROCESS | Yes | No |
Create process |
| DEFINE PROCESS | Yes | No |
Delete process |
| DELETE PROCESS | Yes | No |
Display process |
| DISPLAY PROCESS | Yes | No |
Channel functions | ||||
Change channel |
| ALTER CHANNEL | Yes | No |
Create channel |
| DEFINE CHANNEL | Yes | No |
Delete channel |
| DELETE CHANNEL | Yes | No |
Display channel |
| DISPLAY CHANNEL | Yes | No |
Display channel status |
| DISPLAY CHSTATUS | Yes | No |
End channel |
| STOP CHANNEL | Yes | Yes |
Ping channel |
| PING CHANNEL | Yes | No |
Reset channel |
| RESET CHANNEL | Yes | No |
Resolve channel |
| RESOLVE CHANNEL | Yes | No |
Run channel | runmqchl | START CHANNEL | Yes | Yes |
Run channel initiator | runmqchi | START CHINIT (not Compaq NonStop Kernel) | No | Yes |
Run listener | runmqlsr (not AT&T GIS UNIX and Compaq Tru64 UNIX) | START LISTENER (not Compaq NonStop Kernel) | No | Yes |
End listener | endmqlsr (OS/2, Windows systems, AIX, HP-UX, Solaris, and SINIX and DC/OSx only) |
| No | Yes |