Step 1
Create a file called rfhutil-remote.bat
Step 2
Edit the file and add the following:
set MQSERVER=CHANNEL/TCP/SERVER_IP:PORT
set PATH=C:\RFHUtil_v7.5;%PATH%
start rfhutilc.exe
Note:
Replace CHANNEL with the remote channel name (e.g. CHANNEL1).
Replace SERVER_IP with the remote server IP Address (e.g. 10.0.0.1).
Replace PORT with the remote server port (e.g. 1414).
Replace the RFHUTIL path with the path to where you installed RFHUTIL.
Step 3
Open the rfhutil-remote.bat file.
Step 4
In the Queue Manager Name text box set the connection string. The connection string is the same as the MQSERVER from the batch file. See below.
Afterwards click the "Load Names" button.
6 comments:
what channel name should be used when I want to connect to a local queue manager on windows environment ?
I'm getting authentication exception while connecting to MQ.
I even tried setting the Userid/password in the "Set Conn Id" and Checked "Use CSP".
Could you please give me some pointer
Just want to let you know, that I had to put the port in brackets (1414) without ":".
Otherwise it says "Host not availiable".
Hope this helps.
Great comment about the port with brackets!
Tried the above method but still getting 2538 Host not available. Please help
set MQSERVER=CHANNEL/TCP/SERVER_IP:PORT
I have used (PORT) instead-of :PORT like below, it worked for me.
set MQSERVER=CHANNEL/TCP/SERVER_IP(PORT)
Post a Comment