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 API Support » CONNAME from DIS QSTATUS TYPE(HANDLE) too short

Post new topic  Reply to topic
 CONNAME from DIS QSTATUS TYPE(HANDLE) too short « View previous topic :: View next topic » 
Author Message
dutchman
PostPosted: Fri Jul 29, 2011 1:22 am    Post subject: CONNAME from DIS QSTATUS TYPE(HANDLE) too short Reply with quote

Acolyte

Joined: 15 May 2001
Posts: 71
Location: Netherlands

Guys - here's a nice one. I have a set of tools written in C which collect information about channels and queues. I noticed that the CONNAME attribute of the DIS QS TYPE(HANDLE) had cut off the end of this field. It would typically be the port number.
It also happens via runmqsc:

dis qs(SYSTEM.CLUSTER.TRANSMIT.QUEUE) type(handle) all
1 : dis qs(SYSTEM.CLUSTER.TRANSMIT.QUEUE) type(handle) all
AMQ8450: Display queue status details.
QUEUE(SYSTEM.CLUSTER.TRANSMIT.QUEUE) TYPE(HANDLE)
APPLDESC(WebSphere MQ Channel) APPLTAG(amqrmppa)
APPLTYPE(SYSTEM) BROWSE(YES)
CHANNEL(CLUSTER.QMNTX072.T1) CONNAME(164.140.81.203(55561)
ASTATE(NONE) HSTATE(ACTIVE)
INPUT(SHARED) INQUIRE(YES)
OUTPUT(YES) PID(1605648)
QMURID(0.382126) SET(YES)
TID(48355)
URID(XA_FORMATID[00000000] XA_GTRID[] XA_BQUAL[])
URTYPE(QMGR)

If you look carefully, the conname has a missing bracket.
It is worse if the conname has xxx.xxx.xxx.xxx(xxxxx) which is 22 bytes.

This works fine when doing the DIS CHS command.

The response I had from IBM is that this is just a DOC error and that the length of the field returned in the qstatus is 20 bytes - ie MQ_SHORT_CONN_NAME_LENGTH - but I am expecting MQ_CONN_NAME_LENGTH.

I am not happy with that.

Thoughts?
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri Jul 29, 2011 4:05 am    Post subject: Re: CONNAME from DIS QSTATUS TYPE(HANDLE) too short Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

dutchman wrote:
Thoughts?


Raise a requirement? Get it changed in the next version?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
dutchman
PostPosted: Sun Jul 31, 2011 8:49 pm    Post subject: Reply with quote

Acolyte

Joined: 15 May 2001
Posts: 71
Location: Netherlands

Here's a nice surprise: the IBM support person has acknowledged my concerns.. and added his own: once we go IPV6 the SHORt conname just won't do. I'll await the official response... cheers... Ruud
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Aug 01, 2011 4:10 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

dutchman wrote:
the IBM support person has acknowledged my concerns..


You see?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Aug 01, 2011 4:33 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You haven't said what version of MQ you are using.

I'd hope that 7.0.x had different values and limits here than v6.x.
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Aug 01, 2011 5:22 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5850
Location: UK

APAR IV03674
07/29/2011
WMQ AIX V7 701
The WebSphere MQ command "DIS QSTATUS() TYPE(HANDLE)..." returns truncated TCP/IP address.
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 API Support » CONNAME from DIS QSTATUS TYPE(HANDLE) too short
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.