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 » WebSphere Message Broker (ACE) Support » Issue with ASBITSTREAM function on MRM with TDS format

Post new topic  Reply to topic
 Issue with ASBITSTREAM function on MRM with TDS format « View previous topic :: View next topic » 
Author Message
gecs
PostPosted: Fri Mar 19, 2010 1:17 pm    Post subject: Issue with ASBITSTREAM function on MRM with TDS format Reply with quote

Acolyte

Joined: 14 Nov 2007
Posts: 58

I'm trying convert part of InputRoot into a bit stream. The domain used is MRM.

I'm using the code below:

DECLARE intOptions BITOR(EmbeddedBitStream ,ValidateNone);
DECLARE blb BLOB ASBITSTREAM(reference OPTIONS intOptions CCSID InputProperties.CodedCharSetId);

The blb variable is returning the bit stream of all message but I just want the bit stream of my subtree.
The reference variable is pointing to my subtree that I want to convert.

Finally, I have a message set with message format TDS.

I've tried by using FolderBitStream, RootBitStream but it doesn't work.
Too, I've tried by using the other parameters of ASBITSTREAM function like SET, TYPE and FORMAT. In special the FORMAT parameter.

Please. someone knows what should I do ?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Mar 19, 2010 1:27 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Make sure you're at the *latest* fixpack of the specific version of broker that you're using, ideally 7.0.0.0.
Back to top
View user's profile Send private message
gecs
PostPosted: Fri Mar 19, 2010 1:45 pm    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2007
Posts: 58

I'm using the latest broker version 7.0.0.0

I have read this ... http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ar60310_.htm

Maybe it could give you an idea.
The difference is that I am working with files reading with a message set in TDS format.

I think The ASBITSTREAM want to convert my subtree in an anterior tree (the original root with all message) but my original message contains more data that was suppressed by TDS format and my logical message contains the message without the tags. Is this true or false?


Last edited by gecs on Fri Mar 19, 2010 2:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
newtobroker
PostPosted: Fri Mar 19, 2010 2:05 pm    Post subject: Reply with quote

Novice

Joined: 04 Feb 2010
Posts: 23

Just a different thought here.. y dont u detach ur subtree into a new xml and create two bitstreams ?

and later when required re-join/bind them??
Back to top
View user's profile Send private message
gecs
PostPosted: Fri Mar 19, 2010 2:16 pm    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2007
Posts: 58

I don't need re-join again because I am using this bit stream for send as a parameter in my throw exception. And then, I catch the bit stream in other node for sending an e-mail.
Back to top
View user's profile Send private message
kimbert
PostPosted: Sat Mar 20, 2010 12:38 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
The blb variable is returning the bit stream of all message but I just want the bit stream of my subtree.
The reference variable is pointing to my subtree that I want to convert.
That statement needs to be proved. Please supply Trace node output that proves that it really is pointing where you think it is pointing.
Quote:
Too, I've tried by using the other parameters of ASBITSTREAM function like SET, TYPE and FORMAT. In special the FORMAT parameter.
The word 'too' worries me a lot. Did you really start out *not* specifying those parameters? The ASBITSTREAM function must have failed with an error message if you did that, so that makes me wonder where your 'bitstream of all of the message' came from.

I think the most likely explanation is that your reference is pointing at the root of the message tree. Did you check LASTMOVE after declaring/moving the reference?
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 » WebSphere Message Broker (ACE) Support » Issue with ASBITSTREAM function on MRM with TDS format
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.