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 » Pb with CSD03 and BITSTREAM function

Post new topic  Reply to topic
 Pb with CSD03 and BITSTREAM function « View previous topic :: View next topic » 
Author Message
unilog
PostPosted: Tue Sep 17, 2002 7:45 am    Post subject: Pb with CSD03 and BITSTREAM function Reply with quote

Novice

Joined: 29 Apr 2002
Posts: 17
Location: Paris, France

Hi,

I've just passed WMQI CSD3 on WMQI (Aix & NT), broker, control center...
Since then I have some big troubles.

On a compute node I do the following transformation:

DECLARE extrait BLOB;
DECLARE chaine CHARACTER;
SET extrait = BITSTREAM(InputBody);

SET chaine = CAST( extrait AS CHARACTER CCSID InputRoot.MQMD.CodedCharSetId);

wich converts my Inputbody into a string/char.

When using CSD3, the result of my bitstream function is only X'', and I do not get anything more (normaly all my inputbody is converted into BLOB).

If anybody has an idea how to solve this problem, or another way to convert an XML structure into string, I would very appreciate your help.

Thanks
Alex
Back to top
View user's profile Send private message
warrenpage
PostPosted: Tue Sep 17, 2002 10:09 am    Post subject: BLOB.BLOB Reply with quote

Acolyte

Joined: 19 Feb 2002
Posts: 56
Location: Australia

Why dont you just leave the message as a BLOB and access the BLOB.BLOB which should have your message as a string (assuming its XML and character data)

If you need it parsed to XML use a resetContentDescriptor after you have saved your XML as a string.

e.g. something like


DECLARE chaine CHARACTER;

SET chaine = CAST( InputRoot.BLOB.BLOB AS CHARACTER CCSID InputRoot.MQMD.CodedCharSetId);

or just (which should work too I think)

SET chaine = InputRoot.BLOB.BLOB;
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
bolek
PostPosted: Wed Sep 18, 2002 8:16 pm    Post subject: Re: Pb with CSD03 and BITSTREAM function Reply with quote

Apprentice

Joined: 25 Jul 2002
Posts: 35
Location: Germany

unilog wrote:
Hi,

I've just passed WMQI CSD3 on WMQI (Aix & NT), broker, control center...
Since then I have some big troubles.

On a compute node I do the following transformation:

DECLARE extrait BLOB;
DECLARE chaine CHARACTER;
SET extrait = BITSTREAM(InputBody);

SET chaine = CAST( extrait AS CHARACTER CCSID InputRoot.MQMD.CodedCharSetId);

wich converts my Inputbody into a string/char.

When using CSD3, the result of my bitstream function is only X'', and I do not get anything more (normaly all my inputbody is converted into BLOB).

If anybody has an idea how to solve this problem, or another way to convert an XML structure into string, I would very appreciate your help.

Thanks
Alex


Try

SET extrait = ASBITSTREAM(InputBody);
Back to top
View user's profile Send private message
Mateo
PostPosted: Mon Sep 30, 2002 1:07 am    Post subject: Reply with quote

Novice

Joined: 21 Aug 2002
Posts: 24

I have simmilar poblems ( I got X'' ) from BITSTREAM( InputBody ).
ASBITSTREAM seems to work.

But why it is not documented in "ESQL reference"
( http://publibfp.boulder.ibm.com/epubs/pdf/bipyae02.pdf ) ?!

If it is not documented funcion do I have guarantee that it will avaliable in next versions of Integrator ?

mateo
Back to top
View user's profile Send private message Visit poster's website
bolek
PostPosted: Mon Sep 30, 2002 10:15 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Jul 2002
Posts: 35
Location: Germany

Mateo wrote:
I have simmilar poblems ( I got X'' ) from BITSTREAM( InputBody ).
ASBITSTREAM seems to work.

But why it is not documented in "ESQL reference"
( http://publibfp.boulder.ibm.com/epubs/pdf/bipyae02.pdf ) ?!

If it is not documented funcion do I have guarantee that it will avaliable in next versions of Integrator ?

mateo


ASBITSTREAM is documented in the latest WMQI Readme. We have created several PMRs related to the BITSTREAM/ASBITSTREAM functions, hopefully some efixes will be available soon, I would suggest you contact WMQI Service ( opening a PMR ) to track down the problem and get notification about available fixes.
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 » Pb with CSD03 and BITSTREAM function
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.