Monday, April 13, 2009

WebSphere MQ Commands

WebSphere MQ Commands

Description

PCF command

MQSC command

Control command

WebSphere® MQ Explorer equivalent?

Change Queue Manager

Change Queue Manager

ALTER QMGR

No equivalent

Yes

Create queue manager

No equivalent

No equivalent

crtmqm

Yes

Delete queue manager

No equivalent

No equivalent

dltmqm

Yes

Inquire Queue Manager

Inquire Queue Manager

DISPLAY QMGR

No equivalent

Yes

Inquire Queue Manager Status

Inquire Queue Manager Status

DISPLAY QMSTATUS

dspmq

Yes

Ping Queue Manager

Ping Queue Manager

PING QMGR

No equivalent

No

Refresh Queue Manager

No equivalent

REFRESH QMGR

No equivalent

No

Reset Queue Manager

Reset Queue Manager

RESET QMGR

No equivalent

No

Start queue manager

No equivalent

No equivalent

strmqm

Yes

Stop queue manager

No equivalent

No equivalent

endmqm

Yes

Description

PCF command

MQSC command

Control command

WebSphere® MQ Explorer equivalent?

Display command server

Inquire Queue Manager Status

DISPLAY QMSTATUS

dspmqcsv

Yes

Start command server

Change Queue Manager

ALTER QMGR

strmqcsv

Yes

Stop command server

No equivalent

No equivalent

endmqcsv

Yes

PCF command

MQSC command

Control command

WebSphere® MQ Explorer equivalent?

Delete authority record

No equivalent

setmqaut

Start of changeYesEnd of change

Inquire authority records

No equivalent

dmpmqaut

Start of changeYesEnd of change

Inquire entity authority

No equivalent

dspmqaut

Start of changeYesEnd of change

Refresh Security

REFRESH SECURITY

No equivalent

Start of changeYesEnd of change

Set authority record

No equivalent

setmqaut

Start of changeYesEnd of change

PCF command

MQSC command

Control command

WebSphere® MQ Explorer equivalent?

Inquire Cluster Queue Manager

DISPLAY CLUSQMGR

No equivalent

Yes

Refresh Cluster

REFRESH CLUSTER

No equivalent

Yes

Reset Cluster

RESET CLUSTER

No equivalent

No

Resume Queue Manager Cluster

RESUME QMGR

No equivalent

Yes

Suspend Queue Manager Cluster

SUSPEND QMGR

No equivalent

Yes

PCF command

MQSC command

Control command

WebSphere® MQ Explorer equivalent?

Change Authentication Information Object

ALTER AUTHINFO

No equivalent

Yes

Copy Authentication Information Object

DEFINE AUTHINFO(x) LIKE(y)

No equivalent

Yes

Create Authentication Information Object

DEFINE AUTHINFO

No equivalent

Yes

Delete Authentication Information Object

DELETE AUTHINFO

No equivalent

Yes

Inquire Authentication Information Object

DISPLAY AUTHINFO

No equivalent

Yes

PCF command

MQSC command

Control command

WebSphere® MQ Explorer equivalent?

Change Channel

ALTER CHANNEL

No equivalent

Yes

Copy Channel

DEFINE CHANNEL(x) LIKE(y)

No equivalent

Yes

Create Channel

DEFINE CHANNEL

No equivalent

Yes

Delete Channel

DELETE CHANNEL

No equivalent

Yes

Inquire Channel

DISPLAY CHANNEL

No equivalent

Yes

Inquire Channel Names

DISPLAY CHANNEL

No equivalent

Yes

Inquire Channel Status

DISPLAY CHSTATUS

No equivalent

Yes

Ping Channel

PING CHANNEL

No equivalent

Yes

Reset Channel

RESET CHANNEL

No equivalent

Yes

Resolve Channel

RESOLVE CHANNEL

No equivalent

Yes

Start Channel

START CHANNEL

runmqchl

Yes

Start Channel Initiator

START CHINIT

runmqchi

No

Stop Channel

STOP CHANNEL

No equivalent

Yes

PCF command

MQSC command

Control command

WebSphere® MQ Explorer equivalent?

Change Listener

ALTER LISTENER

No equivalent

Yes

Copy Listener

DEFINE LISTENER(x) LIKE(y)

No equivalent

Yes

Create Listener

DEFINE LISTENER

No equivalent

Yes

Delete Listener

DELETE LISTENER

No equivalent

Yes

Inquire Listener

DISPLAY LISTENER

No equivalent

Yes

Inquire Listener Status

DISPLAY LSSTATUS

No equivalent

Yes

Start Channel Listener

START LISTENER 1

runmqlsr

Yes

Stop Listener

STOP LISTENER

endmqlsr 2

Yes

Notes:

1. Used with listener objects only

2. Stops all active listeners

PCF command

MQSC command

Control command

WebSphere® MQ Explorer equivalent?

Change Namelist

ALTER NAMELIST

No equivalent

Yes

Copy Namelist

DEFINE NAMELIST(x) LIKE(y)

No equivalent

Yes

Create Namelist

DEFINE NAMELIST

No equivalent

Yes

Delete Namelist

DELETE NAMELIST

No equivalent

Yes

Inquire Namelist

DISPLAY NAMELIST

No equivalent

Yes

Inquire Namelist Names

DISPLAY NAMELIST

No equivalent

Yes

PCF command

MQSC command

Control command

WebSphere® MQ Explorer equivalent?

Change Process

ALTER PROCESS

No equivalent

Yes

Copy Process

DEFINE PROCESS(x) LIKE(y)

No equivalent

Yes

Create Process

DEFINE PROCESS

No equivalent

Yes

Delete Process

DELETE PROCESS

No equivalent

Yes

Inquire Process

DISPLAY PROCESS

No equivalent

Yes

Inquire Process Names

DISPLAY PROCESS

No equivalent

Yes

PCF command

MQSC command

Control command

WebSphere® MQ Explorer equivalent?

Change Queue

ALTER QLOCAL
ALTER QALIAS
ALTER QMODEL
ALTER QREMOTE

No equivalent

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

Yes

Delete Queue

DELETE QLOCAL
DELETE QALIAS
DELETE QMODEL
DELETE QREMOTE

No equivalent

Yes

Inquire Queue

DISPLAY QUEUE

No equivalent

Yes

Inquire Queue Names

DISPLAY QUEUE

No equivalent

Yes

Inquire Queue Status

DISPLAY QSTATUS

No equivalent

Yes

Reset Queue Statistics

No equivalent

No equivalent

No

PCF command

MQSC command

Control command

WebSphere® MQ Explorer equivalent?

Change Service

ALTER SERVICE

No equivalent

Yes

Copy Service

DEFINE SERVICE(x) LIKE(y)

No equivalent

Yes

Create Service

DEFINE SERVICE

No equivalent

Yes

Delete Service

DELETE SERVICE

No equivalent

Yes

Inquire Service

DISPLAY SERVICE

No equivalent

Yes

Inquire Service Status

DISPLAY SVSTATUS

No equivalent

Yes

Start Service

START SERVICE

No equivalent

Yes

Stop Service

STOP SERVICE

No equivalent

Yes

Description

PCF command

MQSC command

Control command

WebSphere® MQ Explorer equivalent?

Create conversion exit

No equivalent

No equivalent

crtmqcvx

No

Display files used by objects

No equivalent

No equivalent

dspmqfls

No

Display formatted trace

No equivalent

No equivalent

dspmqtrc 1

No

Display version information

No equivalent

No equivalent

dspmqver

No

Display transactions

No equivalent

No equivalent

dspmqtrn

No

Dump log

No equivalent

No equivalent

dmpmqlog

No

End trace

No equivalent

No equivalent

endmqtrc

Yes

Escape

Escape

No equivalent

No equivalent

No

Record media image

No equivalent

No equivalent

rcdmqimg

No

Recreate media object

No equivalent

No equivalent

rcrmqobj

No

Resolve transactions

No equivalent

No equivalent

rsvmqtrn

No

Run client trigger monitor

No equivalent

No equivalent

runmqtmc

No

Run dead-letter queue handler

No equivalent

No equivalent

runmqdlq

No

Run MQSC commands

No equivalent

No equivalent

runmqsc

No

Run trigger monitor

No equivalent

No equivalent

runmqtrm

No

Set service connection points

No equivalent

No equivalent

setmqscp 2

No

Start WebSphere MQ trace

No equivalent

No equivalent

strmqtrc

Yes

WebSphere MQ Services control

No equivalent

No equivalent

amqmdain 2

No

Notes:

1. Not supported on WebSphere MQ for Windows®.

2. Supported by WebSphere MQ for Windows only.