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 » How to Stream an XML or MRM tree

Post new topic  Reply to topic
 How to Stream an XML or MRM tree « View previous topic :: View next topic » 
Author Message
Lo
PostPosted: Mon Feb 14, 2005 5:56 am    Post subject: How to Stream an XML or MRM tree Reply with quote

Novice

Joined: 14 Feb 2005
Posts: 21

Has anyone tried write to obtain an XML representation of the incoming message from an MRM tree and written this to a varchar field in a DB2 table on an AIX machine.

We are trying ASBITSTREAM on Root.MRM to get the request message but failing when it actully runs.
We are trying CAST AS BLOB to get the bitstream but it gives and empty string.

Both options have been specified with the CCSID 1208 parameter.

Any ideas?

Cheers
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Feb 14, 2005 6:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

How do you know ASBITSTREAM is failing?

When you say
Quote:
Both options have been specified with the CCSID 1208 parameter.
do you mean you are trying to CONVERT the incoming data into CCSID 1208?

ASBITSTREAM doesn't do data conversion in that manner. If the incoming data is not in CCSID 1208... you can specify the CONVERT option on the MQInput node (if your qmgr is using 1208 as it's CCSID) or you can use ASBITSTREAM with the Input CCSID, and then use CAST as BLOB with CCSID to convert the bitstream.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Lo
PostPosted: Thu Feb 17, 2005 3:53 am    Post subject: Reply with quote

Novice

Joined: 14 Feb 2005
Posts: 21

Data is coming to us as 1208, the usage of it in the code was only to show the options i tried.

In debug mode, after the call to ASBITSTREAM, there is nothing in the temporary BLOB variable.

I think, i tried you suggestion, i'll confirm later.
Back to top
View user's profile Send private message
Lo
PostPosted: Thu Feb 24, 2005 5:56 am    Post subject: Reply with quote

Novice

Joined: 14 Feb 2005
Posts: 21

I was trying to use this in a Database node which i was not able to do. Once converted to Compute, it wasnt a problem. Still had to convert to BITSTREAM. I dont know ASBITSTREAM as well.
Are there simple examples (of ASBITSTREAM) of what it does apart from what is in the IBM help.?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 24, 2005 6:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

DO NOT USE BITSTREAM.

I can not stress this enough. It does not do what you think it does, and it doesn't work in situations when you want it to.

Read the documentation on ASBITSTREAM.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JT
PostPosted: Thu Feb 24, 2005 7:04 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Quote:
Are there simple examples (of ASBITSTREAM) of what it does apart from what is in the IBM help.?

There are plenty of examples right here on this site. Search for 'ASBITSTREAM'.
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 » How to Stream an XML or MRM tree
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.