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 IndexWebSphere DataPowerFind queue Depth in Datapower

Post new topicReply to topic
Find queue Depth in Datapower View previous topic :: View next topic
Author Message
DP1234
PostPosted: Fri Jun 06, 2014 11:44 am Post subject: Find queue Depth in Datapower Reply with quote

Apprentice

Joined: 25 May 2014
Posts: 40

Hi,
I've a scenario like calling from 1 MPG(back end is mq queue) to another MPG (front side handler is MQ)..Now what i've to do is, calculate the queue depth after 1st MPG ..do we've any function so i can calculate this


Thanks in advance
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jun 06, 2014 11:46 am Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7612

Datapower is not an MQ Monitoring tool.

Why do you need the queue depth in Datapower?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
DP1234
PostPosted: Fri Jun 06, 2014 11:51 am Post subject: Reply with quote

Apprentice

Joined: 25 May 2014
Posts: 40

Hi,

I just wants to check whether the request is write into the queue and send the response back , stating that you have successfully posted your response/failure
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jun 06, 2014 11:53 am Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7612

MQ gives you a very specific 4 digit MQ Reason Code at the conclusion of your MQPUT telling you whether the 'write into the queue' worked.

The queue depth is not a reliable method of telling you this.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
DP1234
PostPosted: Fri Jun 06, 2014 11:58 am Post subject: Reply with quote

Apprentice

Joined: 25 May 2014
Posts: 40

Hi Peter,

Thanks for your suggestion, Please tell me how to get this MQ Reason code.
Back to top
View user's profile Send private message
WMBSAM
PostPosted: Fri Jun 13, 2014 10:21 am Post subject: Reply with quote

Voyager

Joined: 02 Oct 2009
Posts: 90
Location: Atlanta

@DP1234 :

Quote:
Please tell me how to get this MQ Reason code.


google for MQCC and MQRC for Application programming reference.
Back to top
View user's profile Send private message
nandu123
PostPosted: Mon Jun 23, 2014 1:37 pm Post subject: Reply with quote

Newbie

Joined: 10 Jan 2011
Posts: 5
Location: NewYork

Quote:
Please tell me how to get this MQ Reason code


To view the reason codes in the WebGUI, use the following steps:
1. Select Administration from the navigation bar.
2. Under the Debug heading, click View List of Event Codes.
3. Scroll down to the mq category

Reading the MQRC in a style sheet:

Code:

<xsl:variable name="mqrc"
select="normalize-space(dp:response-header(x-dp-response-code))" />
<xsl:if test="starts-with($mqrc, 2) and string-length($mqrc)= 4">
<dp:reject>MQ Error (RC: <xsl:value-of select="$mqrc"/>)</dp:reject>
</xsl:if>
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue Jul 01, 2014 5:07 am Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7612

DP1234 wrote:
Hi Peter,

Thanks for your suggestion, Please tell me how to get this MQ Reason code.


Check out this link in the DataPower InfoCenter:
http://pic.dhe.ibm.com/infocenter/wsdatap/v6r0m1/topic/com.ibm.dp.xi.doc/mq_themqreasoncode.html
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere DataPowerFind queue Depth in Datapower
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.