ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Unable to connect to qmgr Q2ZP with NT client RC=2059

Post new topic  Reply to topic
 Unable to connect to qmgr Q2ZP with NT client RC=2059 « View previous topic :: View next topic » 
Author Message
sysnemr
PostPosted: Mon Jul 01, 2002 1:35 am    Post subject: Unable to connect to qmgr Q2ZP with NT client RC=2059 Reply with quote

Apprentice

Joined: 29 Oct 2001
Posts: 30
Location: Zagreb, Croatia

I installed the MQSeries NT client on WIN NT Workstation.
On OS/390 machines I have got the following status
The first OS/390 system
+CSQX099I +P1 CSQXGIP CLIENT ATTACHMENT FEATURE AVAILABLE .
The second OS/390 system
+CSQX099I +P2 CSQXGIP CLIENT ATTACHMENT FEATURE AVAILABLE .

Both OS/390 systems have got queue managers.
They have got the similar objects created because these
OS/390 systems are in //Sysplex. I set the MQseries variables on the NT workstation in this way

For queue manager Q1ZP on the first OS/390 system
SET MQSERVER=CHANNEL.TO.Q1ZP/TCP/10.254.13.1(1418)
SET MQCCSID=852

For queue manager Q2ZP on the second OS/390 system
SET MQSERVER=CHANNEL.TO.Q2ZP/TCP/10.254.6.1(1420)
SET MQCCSID=852

I created the channels on queue managers in this way

Q1ZP

DEFINE CHANNEL(CHANNEL.TO.Q1ZP) CHLTYPE(SVRCONN) TRPTYPE(TCP) MCAUSER(' ') REPLACE


Q2ZP

DEFINE CHANNEL(CHANNEL.TO.Q2ZP) CHLTYPE(SVRCONN) TRPTYPE(TCP) MCAUSER(' ') REPLACE

From the command prompt on NT I can connect to the queue
manager Q1ZP with amqsputc and amqsgetc, and put and get messages from the queues on Q1ZP.


I changed variables on NT workstation for an other queue manager Q2ZP. When I try to issue the command on the workstation

amqsputc TEST.QUEUE


the response is the following message:

MQCONN ended with reason code 2059.

I don't know what to do here because everything is done in same
way on both systems. I can not see any differences
on both systems. What to do here to solve the problem that
amqsputc and amqsputc applications can connect to queue manager Q2ZP as I can normally connect to Q1ZP?
Back to top
View user's profile Send private message
TorpedoSTu
PostPosted: Mon Jul 01, 2002 3:56 am    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2001
Posts: 73

The only obvious diffence is the ip address.

Does ping work ok ?

Regs

Stu
Back to top
View user's profile Send private message Send e-mail
glen
PostPosted: Mon Jul 01, 2002 4:17 am    Post subject: Reply with quote

Novice

Joined: 05 Jun 2002
Posts: 13
Location: Dublin, Ireland.

if you could connect to one MQS but not the other, then the client is installed correctly.
two things to check

echo %mqserver% from command prompt, make sure the output is correct.

the queue names are case sensitive. check.

eg. amqsputc Test.QUEUE
Back to top
View user's profile Send private message
mrlinux
PostPosted: Mon Jul 01, 2002 4:23 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Check port #'s, Since you are not specifing a queue manager name on
your calls you need to make sure both are default queue managers.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
sysnemr
PostPosted: Mon Jul 01, 2002 4:54 am    Post subject: Reply with quote

Apprentice

Joined: 29 Oct 2001
Posts: 30
Location: Zagreb, Croatia

I don't know how to check if the queue manager on OS/390 is default
queue manager. I know how to s check it on NT. On our OS/390 every application connects to explicit name od qmgr not to default queue manager. The only required parametar for amqsputc is queue name and only changing the NT variable I choose the queue manager, IP and port pair, which is on OS/390.
Back to top
View user's profile Send private message
sysnemr
PostPosted: Mon Jul 01, 2002 5:18 am    Post subject: Reply with quote

Apprentice

Joined: 29 Oct 2001
Posts: 30
Location: Zagreb, Croatia

I checked the IP address and port. They are OK. Also I used the correct name of queue in amqsputc.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Mon Jul 01, 2002 6:28 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Try doing the AMQSPUTC QUEUENAME QMGRNAME

Also try telnet MAINFRAME MQPort#
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
sysnemr
PostPosted: Tue Jul 02, 2002 2:51 am    Post subject: Reply with quote

Apprentice

Joined: 29 Oct 2001
Posts: 30
Location: Zagreb, Croatia

When I specify the qmgrname for example

amqsputc TEST.QUEUE Q2ZP

it doesn't work. I have got the same output message as before without
qmgrname:

Sample AMQSPUT0 start
MQCONN ended with reason code 2059

I noticed in OS/390 log the following messages

+CSQX500I +P2 CSQXRESP CHANNEL CHANNEL.TO.Q2ZP STARTED
+CSQX501I +P2 CSQXRESP CHANNEL CHANNEL.TO.Q2ZP IS NO LONGER ACTIVE

For an other qmgr Q1ZP
amqsputc TEST.QUEUE Q1ZP works and there is no differnce
when I use or ommit the qmgrname.

Also, I tried to telnet to IP + port:
telnet 10.254.6.1 1420
With netstat command I saw the established connection with this IP and port specified in telnet command.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Tue Jul 02, 2002 3:06 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

I have gotten the same thing when our OS390 Queue manager is not set as default. Iam not saying thats is but it certainly looks like it . I just could never explain when specifing the queue manager name it still wont work.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
sysnemr
PostPosted: Tue Jul 02, 2002 3:56 am    Post subject: Reply with quote

Apprentice

Joined: 29 Oct 2001
Posts: 30
Location: Zagreb, Croatia

We haven't got both production qmgrs set default. Before this I didn't know how can I set the MQSeries subsystem on OS/390 as default queue manager. I found in System Management Guide that this can be done with CSQBDEFV. The both queue managers are not set as default queue
managers and maybe this is not cause why I cannot connect with NT MQSeries client to qmgr Q2ZP. Probably is problem somewhere else!?
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Tue Jul 02, 2002 5:28 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

Hmm,
it sounds pretty strange....
Quote:
+CSQX500I +P2 CSQXRESP CHANNEL CHANNEL.TO.Q2ZP STARTED
+CSQX501I +P2 CSQXRESP CHANNEL CHANNEL.TO.Q2ZP IS NO LONGER ACTIVE

You was seeing the above in the log which MVS LOG or Q2ZPCHIN log ?

By the way are there any security violation in QZ2PMSTR task ?

Normally it's pretty easy to get the client up and running towards OS/390, especially if we check the RC's and the logs.

By the way if you're doing a DIS QMGR command, it responds: QZ2P all upercase, right ?

just my $0.02
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
sysnemr
PostPosted: Tue Jul 02, 2002 6:52 am    Post subject: Reply with quote

Apprentice

Joined: 29 Oct 2001
Posts: 30
Location: Zagreb, Croatia

These messages

+CSQX500I +P2 CSQXRESP CHANNEL CHANNEL.TO.Q2ZP STARTED
+CSQX501I +P2 CSQXRESP CHANNEL CHANNEL.TO.Q2ZP IS NO LONGER ACTIVE

I notice everytime I issue the command

amqsputc TEST.QUEUE Q2ZP

in OS/390 SYSLOG and also in Q2ZPCHIN.

We haven't got activated the MQSeries security in RACF.
So, these messages are triggered only when I test with client apllication
amqsputc. It's really very easy to connect client to qmgr. I did it very fast
and saw that everything is OK with Q1ZP. But with Q2ZP is really strange
because everything was done for Q2ZP in the same way as I did for Q1ZP.

Display is also OK.
+P2 DIS QMGR

CSQM201I +P2 CSQMDMSG DIS QMGR DETAILS 392
QMNAME(Q2ZP)
CSQMDMSG END QMGR DETAILS
CSQ9022I +P2 CSQMDMSG ' DIS QMGR' NORMAL COMPLETION
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Unable to connect to qmgr Q2ZP with NT client RC=2059
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.