Post

IBM MQ colas y brokers

IBM MQ colas y brokers

IBM MQ colas y brokers

Este post sirve para revisar gestores de colas, consultar profundidad de colas, arrancar/parar canales y hacer comprobaciones basicas de brokers.

Gestores de colas

1
2
3
4
dspmq
strmqm <QMGR>
endmqm <QMGR>
runmqsc <QMGR>

Consultar colas

1
2
3
DISPLAY QLOCAL(*) CURDEPTH MAXDEPTH
DISPLAY QLOCAL(<COLA>) ALL
DISPLAY QSTATUS(<COLA>) TYPE(QUEUE) ALL

Canales

1
2
3
4
DISPLAY CHANNEL(*) CHLTYPE
DISPLAY CHSTATUS(*)
START CHANNEL(<CANAL>)
STOP CHANNEL(<CANAL>)

Purga controlada de cola

Antes de purgar, confirmar que no hay consumidores activos y que el contenido no es recuperable.

1
CLEAR QLOCAL(<COLA>)

Brokers

1
2
3
4
mqsilist
mqsistart <BROKER>
mqsistop <BROKER>
mqsireportproperties <BROKER> -a
This post is licensed under CC BY 4.0 by the author.