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 » Parsing XML to Blob without RCD

Post new topic  Reply to topic
 Parsing XML to Blob without RCD « View previous topic :: View next topic » 
Author Message
ghoose
PostPosted: Wed Dec 10, 2003 5:01 am    Post subject: Parsing XML to Blob without RCD Reply with quote

Novice

Joined: 23 Apr 2002
Posts: 16

Hi,
I am trying to parse the input xml to Blob without using a RCD node. Below is the line of ESQL i am using and the out put of the same in a trace node.
you can see that im not getting any data atall.
When i replace the Compute node(with the below statement) with RCD im getting expected data.
I am not sure if im doing any thing wrong in the code.
Please advice.
Thanks
Ghoose!

Code:
CREATE FIRSTCHILD OF  OutputRoot.BLOB  DOMAIN 'BLOB' PARSE(InputRoot.XML.AppSvrTxn,273,819);
)

Quote:
(0x1000000)BLOB = (
(0x1000000)BLOB = (
(0x3000000)BLOB = X''
)
)
)
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Wed Dec 10, 2003 11:38 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Try this,
Code:

SET OutputRoot."BLOB"."BLOB" = BITSTREAM(InputRoot.XML);

_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
mgk
PostPosted: Wed Dec 10, 2003 12:17 pm    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

CREATE with the PARSE clause is designed for creating elements in the tree from a bitstream, not the other way around. You can either use the BITSTREAM or ASBITSTREAM functions to do what you want.
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Dec 10, 2003 1:24 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If you are using 2.1 later than CS03, you should be using the ASBITSTREAM function, not the BITSTREAM function.

If you are using 2.1 earlier than CSD03, you should upgrade to at least CSD04...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ghoose
PostPosted: Thu Dec 11, 2003 9:19 am    Post subject: Reply with quote

Novice

Joined: 23 Apr 2002
Posts: 16

Thanks guys. I will give it a try and let you know
Back to top
View user's profile Send private message Send e-mail
Sandman
PostPosted: Thu Apr 29, 2004 9:34 am    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2001
Posts: 134
Location: Lincoln, RI

jefflowrey wrote:
If you are using 2.1 later than CS03, you should be using the ASBITSTREAM function, not the BITSTREAM function.

If you are using 2.1 earlier than CSD03, you should upgrade to at least CSD04...


Can someone please point me to some documentation on this ASBITSTREAM?

Thanks.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Apr 29, 2004 9:48 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's in the memo.ptf for CSD03 or greater.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Sandman
PostPosted: Thu Apr 29, 2004 9:51 am    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2001
Posts: 134
Location: Lincoln, RI

jefflowrey wrote:
It's in the memo.ptf for CSD03 or greater.


Thanks Jeff.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Parsing XML to Blob without RCD
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.