MQSC Command Quick Ref
MQSC Command Quick Ref
echo “command” | runmqsc [QmgrName] return control after end: endmqm -w QmgrName RESUME no synonym (QMGR)
end immediately: endmqm -i QmgrName START STA (CHANNEL, CHINIT, SERVICE, LISTENER)
if all else fails (use with caution!): endmqm -p QmgrName
Display STOP no synonym (CHANNEL, CONN, SERVICE, LISTENER)
SUSPEND no synonym (QMGR)
Starting Channel
MQ installed, which version Object synonyms
dspmqver (pre V6: mqver) )MQSC: START CHL(ChannelName) AUTHINFO no synonym
Display QueueManagers on a machine Stopping Channel CHANNEL CHL
PROCESS PR
dspmq )MQSC: STOP CHL(ChannelName) NAMELIST NL
Display QueueManager settings set inactive: STOP CHL(ChannelName) mode(quiesce) status(inactive) QUEUE Q (DISPLAY only)
)MQSC: DIS CHL(*) [ALL] Display Channel status or ALL status information [optional]
Display Channels, specific attribute(s)
)MQSC: DIS CHS(*) [SAVED] [ALL]
)MQSC: DIS CHL(*) CONNAME Display Queue status or ALL status information [optional]
Display Services, name and type or ALL attributes [optional]
)MQSC: DIS QS(*) [TYPE(HANDLE)] [ALL]
)MQSC: DIS SERVICE(*) [ALL] Display Service status or ALL status information [optional]
Display Listener, name and type or ALL attributes [optional]
)MQSC: DIS SVSTATUS(*) [SAVED] [ALL]
)MQSC: DIS LSTR(*) [ALL] Display Listener status or ALL status information [optional]
)MQSC: DIS LSTATUS(*) [SAVED] [ALL]