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 Message Broker (ACE) SupportAccess Message service folders

Post new topicReply to topic
Access Message service folders View previous topic :: View next topic
Author Message
goldym
PostPosted: Tue Jul 05, 2005 2:32 pm Post subject: Access Message service folders Reply with quote

Centurion

Joined: 24 Jun 2005
Posts: 116

Does anyone know the syntax for accessing the usr fields?

I get Failed to navigate to path element because it does not exist.

XML:

MD 63MQHRF2 AMQ QM.WMQI.BK Bwá” d QM.WMQI.BK wmqiadm 2005061019353861 ÿÿÿÿRFH ܸMQSTR ¸
<mcd>
<Msd>jms_text</Msd>
</mcd>
l
<jms>
<Dst>queue:///ADVANTAGE.INPUT</Dst>
<Tms>1118432138371</Tms>
<Exp>1118433938371</Exp>
<Dlv>2</Dlv>
</jms>
<usr>
<TRADE_ID>3000038</TRADE_ID>
<STATUS>MANUAL_REQUEST</STATUS>
<MESSAGE_TYPE>TEMP</MESSAGE_TYPE>
<reportingServer>temp_gateway_localhost_000</reportingServer>
<TRADE_ID_TYPE>FRONT_OFFICE_ID</TRADE_ID_TYPE>
<LMT dt='i8'>1118432138371</LMT>
<gdsPartitionId dt='i4'>0</gdsPartitionId>
</usr>

ESQL:


IF InputRoot.MQRFH2.usr.MESSAGE_TYPE IS NULL THEN

SET OutRoot.XML.Results = 'null element';
Back to top
View user's profile Send private message
Paul D
PostPosted: Tue Jul 05, 2005 5:41 pm Post subject: Reply with quote

Master

Joined: 16 May 2001
Posts: 200
Location: Green Bay Packer Country

I use this and have no issues. I just make references like this:

InputRoot.MQRFH2.usr.AuditType

I'm not sure what you are doing wrong. When you do a trace node, do you see the header parsed? If you build this message with the header ahead of this, make sure that you made the header first before copying over the message body so the message tree is built correctly.
_________________
Thanks!!!

Paul D
Back to top
View user's profile Send private message Visit poster's website
goldym
PostPosted: Tue Jul 05, 2005 6:07 pm Post subject: Reply with quote

Centurion

Joined: 24 Jun 2005
Posts: 116

I do see the the header parsed. Well I see the MQMD fields and then the MQRFH2. but I dont see the other values RFH values.
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Jul 05, 2005 6:40 pm Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
then the MQRFH2. but I dont see the other values RFH values

It probably would be easier to post the MQMD and RHF2 portions of the trace than asking more questions about the structure.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 Message Broker (ACE) SupportAccess Message service folders
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.