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 Java / JMS » channel description and queque description

Post new topic  Reply to topic
 channel description and queque description « View previous topic :: View next topic » 
Author Message
chuis
PostPosted: Thu Apr 13, 2006 8:08 am    Post subject: channel description and queque description Reply with quote

Newbie

Joined: 13 Apr 2006
Posts: 4

Hello masters,
I can not to show channel description field ("DESCR")
Please help me …
See below a chunk of my code, what is attribute I should joint to attrs array ?
----
int [] attrs =
{
CMQCFC.MQCACH_CHANNEL_NAME,
CMQCFC.MQCACH_CONNECTION_NAME,
CMQCFC.MQIACH_MSGS,
CMQCFC.MQCACH_LAST_MSG_DATE,
CMQCFC.MQCACH_LAST_MSG_TIME,
CMQCFC.MQIACH_CHANNEL_STATUS ,
CMQCFC.MQIACH_CHANNEL_INSTANCE_TYPE,
CMQCFC.MQIACH_CHANNEL_TYPE
};

// ...now add the parameter for these attributes

request.addParameter(CMQCFC.MQIACH_CHANNEL_INSTANCE_ATTRS, attrs);//

Thank you very much …

Friendly,
Chuis
Code:
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 13, 2006 8:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzac.doc/csqzac04137.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Apr 13, 2006 8:27 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Searching for "addParameter" will give a few hts when using PCF messages is discussed.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
chuis
PostPosted: Mon Apr 17, 2006 11:28 pm    Post subject: Reply with quote

Newbie

Joined: 13 Apr 2006
Posts: 4

thank you very much
I will try ...
Back to top
View user's profile Send private message
chuis
PostPosted: Tue Apr 18, 2006 12:25 am    Post subject: Reply with quote

Newbie

Joined: 13 Apr 2006
Posts: 4

I have tried to join
CMQCFC.MQCACH_DESC
to my attr list :

CMQCFC.MQCACH_CHANNEL_NAME,
CMQCFC.MQCACH_CONNECTION_NAME,
CMQCFC.MQIACH_MSGS,
CMQCFC.MQCACH_LAST_MSG_DATE,
CMQCFC.MQCACH_LAST_MSG_TIME,
CMQCFC.MQIACH_CHANNEL_STATUS ,
CMQCFC.MQIACH_CHANNEL_INSTANCE_TYPE,
CMQCFC.MQCACH_DESC
but it dosn't match result ?!
when I take off CMQCFC.MQCACH_DESC, every thing is ok

please help me to obtain channel desciption
I'm lost
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Apr 18, 2006 2:35 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

If you issue a: MQCMD_INQUIRE_CHANNEL_STATUS, you will not get the channel description back, see here:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzac.doc/csqzac04137.htm

You need to issue: MQCMD_INQUIRE_CHANNEL also, if you want the description.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
chuis
PostPosted: Tue Apr 18, 2006 11:55 pm    Post subject: Reply with quote

Newbie

Joined: 13 Apr 2006
Posts: 4

I got it ... it works now
thank you very much ...

yoppiiiiiiii
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 Java / JMS » channel description and queque description
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.