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 » Converting CHAR to BLOB

Post new topic  Reply to topic
 Converting CHAR to BLOB « View previous topic :: View next topic » 
Author Message
basva
PostPosted: Tue Oct 11, 2005 8:03 am    Post subject: Converting CHAR to BLOB Reply with quote

Apprentice

Joined: 27 Nov 2002
Posts: 39

Hi,

I have an input message which is BLOB. I am converting this to CHAR to find out whether there is a given pattern present in the input message. If the pattern is present I want to remove the pattern. After doing this how can I convert this character variable to BOB before writing to a queue?

Thanks
Satish
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 11, 2005 8:06 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JT
PostPosted: Tue Oct 11, 2005 10:09 am    Post subject: Reply with quote

Padawan

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

Why endure the performance overhead of converting the message from one domain to another, and then back again ?

Why don't you apply the same 'pattern detection & removal' method, except do it against the BLOB domain ?
Back to top
View user's profile Send private message
DJN
PostPosted: Wed Oct 12, 2005 11:39 am    Post subject: Reply with quote

Apprentice

Joined: 14 Apr 2003
Posts: 47

Satish,

I have done the following.....

Declare MSG_Char CHAR;

SET MSG_Char = CAST(InputRoot.BLOB.BLOB as CHAR CCSID 1208);
.
.
.
SET OutputRoot.BLOB.BLOB = CAST(MSG_Char as BLOB CCSID 1208);

Don
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 » Converting CHAR to BLOB
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.