Warm tip: This article is reproduced from serverfault.com, please click

Command to Replace Connection Name in IBM MQ

发布于 2021-01-13 18:30:39

Can someone please provide the commands to replace the MQ channel IP and port and using command line in IBM MQ.

Below Command is not working

ALTER CHANNEL('TEC1APP.TO.OCMT') CHLTYPE (SDR) CONNAME('192.168.0.1(1415)') REPLACE
Questioner
Kumar
Viewed
0
5,529 2021-01-16 03:18:27

To change IP to 192.168.0.2 and port number to 1416, below command can be used

ALTER CHANNEL('TEC1APP.TO.OCMT') CHLTYPE (SDR) CONNAME('192.168.0.2(1416)')