Author |
Message
|
SKK |
Posted: Wed Nov 22, 2006 6:01 am Post subject: MA01 Support pac - Window client connection |
|
|
 Acolyte
Joined: 09 May 2005 Posts: 67
|
Hi,
I want to connect to remote queue manager using MA01, "q" utility.
SET MQSERVER= SYSTEM.DEF.SVRCONN/TCP/100.12.18.100(1414),
then,
q -m TQM -i TEST.Q -l mqic32.
It gives me 2058 error. Can any let me know, how to connect to remote QM using "q" utility in windows _________________ Regards,
SKK |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 22, 2006 6:08 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The readme is quite clear on how to do this, I think. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 22, 2006 6:08 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
That command syntax works for me. Have you going through the list of usual suspects - queue manager in wrong case, IP address wrong, etc, etc? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
SKK |
Posted: Wed Nov 22, 2006 9:30 pm Post subject: |
|
|
 Acolyte
Joined: 09 May 2005 Posts: 67
|
I have checked QM, Port, Ip's etc. The same setup (MQSERVER environment variable) works for rfhutilc. (IH03 Support pac)
I tried below command also.
q -mTESTQM -iTEST.OUT -lmqic32 -xc
MQSeries Q Program by Paul Clarke [ V4.5 Build:Sep 15 2006 ]
Enter Channel Name
SYSTEM.DEF.SVRCONN
Enter Channel Type (NULL for CLNTCONN)
SVRCONN
Enter Transport Type (NULL for TCP)
TCP
Enter connection name (NULL for localhost)
100.18.38.100(1414)
Do you want exits ?
Do you want SSL ?
Connecting ...failed.
MQCONNX on object 'TESTQM' returned 2277 MQCD Error.
Any help? _________________ Regards,
SKK |
|
Back to top |
|
 |
Vitor |
Posted: Thu Nov 23, 2006 12:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Well 2277 is a channel error (demonstrating here my ability to read rather than help). That's what you get for trying a MQCONNX I suspect.
Doesn't actually help with the original 2058 though, especially if rfhutilc is working. With luck a better mind than mine will be along in a minute.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Nov 23, 2006 3:32 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
I would think this wants to be CLNTCONN:
Enter Channel Type (NULL for CLNTCONN)
SVRCONN
Since "q" needs to build the clntconn end of the channel, not the svrconn end .... not sure why the program even prompts for this .... _________________ -wayne |
|
Back to top |
|
 |
SKK |
Posted: Fri Nov 24, 2006 5:58 am Post subject: |
|
|
 Acolyte
Joined: 09 May 2005 Posts: 67
|
All,
Thanks for your reply, the problem was space in the MQSERVER env variable.
Earlier it was,
SET MQSERVER= SYSTEM.DEF.SVRCONN/TCP/100.12.18.100(1414)
Now it is
SET MQSERVER=SYSTEM.DEF.SVRCONN/TCP/100.12.18.100(1414), _________________ Regards,
SKK |
|
Back to top |
|
 |
|