Skip to content

Instantly share code, notes, and snippets.

@loinguyenduc101
Last active February 18, 2017 18:06
Show Gist options
  • Save loinguyenduc101/9e27cde1b95b1a6bc5ffbfb1590e9f82 to your computer and use it in GitHub Desktop.
Save loinguyenduc101/9e27cde1b95b1a6bc5ffbfb1590e9f82 to your computer and use it in GitHub Desktop.
administer IBM MQ v8
Show all các QM
#dspmq -o installation -s
Tạo QM
#crtmqm QMA
Start/Stop QM
#strmqm QMA
#endmqm QMA
Các lệnh thao tác trên môi trường MQSC
#runmqsc QMA --start MQSC
#end --stop MQSC
Tạo Queue trên QM
#DEFINE QLOCAL (QUEUE1)
Tạo listener : default port 1414
#DEFINE LISTENER (LISTENER1) TRPTYPE (TCP) CONTROL (QMGR) PORT ( PORT_NUMBER )
#START LISTENER (LISTENER1)
#STOP LISTENER (LISTENER1)
Tạo Channel
#DEFINE CHANNEL (QMA.QMB) CHLTYPE (RCVR) TRPTYPE (TCP)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment