Author |
Message
|
havefun |
Posted: Fri Oct 31, 2003 10:49 am Post subject: MQCONN ended with reason code 2059 |
|
|
Newbie
Joined: 31 Oct 2003 Posts: 5
|
Hi there,
I am new to MQ.... trying to figure out how to connect to queues....
I am just trying sample programs from ibm...
i tried 'amqsput' ... but its not successful. it gave me following erro 'MQCONN ended with reason code 2059'.
Could someone suggest what shall I do...
Also someone tell me, how do I check error log ( I am on the client side)
thanks |
|
Back to top |
|
 |
Leafar |
Posted: Fri Oct 31, 2003 10:59 am Post subject: |
|
|
 Acolyte
Joined: 03 Apr 2003 Posts: 74 Location: Buenos Aires
|
are you running in Unix or Windows?
is the MQSERVER variable set?
unix export MQSERVER=QMGR/TCP/'hostname(port)'
windows set MQSERVER=QMGR/TCP/'hostname(port)'
you can replace the hostname for the IPaddress |
|
Back to top |
|
 |
havefun |
Posted: Fri Oct 31, 2003 11:04 am Post subject: yes its there |
|
|
Newbie
Joined: 31 Oct 2003 Posts: 5
|
value i've set
SYSTEM.DEF.SVRCONN/TCP/sys1m3 |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Oct 31, 2003 11:42 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
if on the client side use amqsputc (amqsput is the server code)
Michael |
|
Back to top |
|
 |
havefun |
Posted: Fri Oct 31, 2003 11:45 am Post subject: Tried |
|
|
Newbie
Joined: 31 Oct 2003 Posts: 5
|
When i tried with this i got the following
MQCONN ended with reason code 2195 |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Oct 31, 2003 11:53 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
ha! that better then 2059... sorry just kidding.
look into the MQ Errorlogs (on both sides) for more details.
search for AMQERR*.LOG on your systems (Windows/Unix)
Michael |
|
Back to top |
|
 |
havefun |
Posted: Fri Oct 31, 2003 12:21 pm Post subject: No Server access |
|
|
Newbie
Joined: 31 Oct 2003 Posts: 5
|
I dont have access on the server side |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Oct 31, 2003 12:26 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
Well ask the admin on the other side!
Unless you are a hacker and you don't want the other party to know you are connecting...
If this is the case then this is not the place to look for help!
Michael |
|
Back to top |
|
 |
|