|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Pb with CSD03 and BITSTREAM function |
« View previous topic :: View next topic » |
Author |
Message
|
unilog |
Posted: Tue Sep 17, 2002 7:45 am Post subject: Pb with CSD03 and BITSTREAM function |
|
|
 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 |
|
 |
warrenpage |
Posted: Tue Sep 17, 2002 10:09 am Post subject: BLOB.BLOB |
|
|
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 |
|
 |
bolek |
Posted: Wed Sep 18, 2002 8:16 pm Post subject: Re: Pb with CSD03 and BITSTREAM function |
|
|
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 |
|
 |
Mateo |
Posted: Mon Sep 30, 2002 1:07 am Post subject: |
|
|
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 |
|
 |
bolek |
Posted: Mon Sep 30, 2002 10:15 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|