Académique Documents
Professionnel Documents
Culture Documents
REFRESH
RESET
CLUSTER
CHANNE
L
CLUSTER
SECURITY
RESOLV
E
CHANNEL
RESUME
START
STOP
SUSPEND
QMGR
CLUSTER
QMGR
CLUSNL
CHANNEL
CHANNEL
QMGR CLUSTER
CHINIT
LISTENER
QMGR CLUSNL
LISTENER
SERVICE
SERVICE
CONN
QMGR
Description
To Display mq version
To Display all MQ's
To create a queue manager
To Start a Queue Mgr
TO
To Start a QMgr automatically when os
starts
Disable QMgr starting automatically
Normal shutdown
Immediate Shutdown
Command
$ DSPMQVER
$ DSPMQ
$ crtmqm -q -d MY.DEFAULT.XMIT.QUEUE u DEAD.LETTER.QUEUE QM1
$ STRTMQM qmgrname
$ AMQMDAIN AUTO <QMgr>
$AMQMDAIN MANUAL <QMgr>
endmqm <QMGR>
endmqm -i <QMGR>
$ DSPMQ -M qmgrname
$ DISPLAY QL('ql1')
$ DISPLAY QSTATUS('lq1') TYPE(QUEUE) ALL
ALTER QUEUETYPE <queuename> PUT(ENABLED)
$ ALTER QL('ql1') PUT(ENABLED)
ALTER QUEUETYPE< queuename> PUT(ENABLED) GET
(DISABLED) MAXDEPTH(max no.of msgs)
$ ALTER QL('ql1') PUT(ENABLED) GET(DISABLED)
MAXDEPTh(10)
$ MQRC 2085
$ DEFINE QALIAS('aliasqueuename')
TARGET('targetqueuename')
$ DEFINE QR(QMGR1.RQ) RNAME(QMGR2.LQ)
$ RUNMQSC qmgrname
$ END
$ AMQSPUT <queuename> <queuemgrname>
$AMQSGET <queuename> <queuemgrname>
Syntax:- AMQPUB <TOPICNAME> <QMGRNAME>
$ AMQSPUB DELL.TOPIC QMGR1
$ AMQSSUB DELL.TOPIC QMGR1
$ DSPMQCSV <Qmgr>
STRMQCSV / DSPMQCSV/ ENDMQCSV <Qmgr>
$ RUNMQSC <Qmgr>
$ AMQSSUB DELL.TOPIC QMGR1
RQMNAME(QMGR2) XMITQ(QMGR2))
$ CLEAR QL('ql1')
25. What is the command used for stopping the Queue manager?
$ endmqm -w QMName
The command waits until all applications have stopped and the queue manager has
ended.
$ endmqm i QMName
This type of shutdown does not wait for applications to disconnect from the queue
manager.