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 » ESQL code in WMB for adding carriage return at every 1024

Post new topic  Reply to topic
 ESQL code in WMB for adding carriage return at every 1024 « View previous topic :: View next topic » 
Author Message
sunilkdj
PostPosted: Fri Mar 01, 2013 10:41 am    Post subject: ESQL code in WMB for adding carriage return at every 1024 Reply with quote

Newbie

Joined: 01 Mar 2013
Posts: 7

Hi All,

I need to know how to send message to the outputRoot, such that, the incoming message is a BLOB and I need to add carriage return at every 1024 bytes. The incoming message may contain n*1024 bytes.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Mar 01, 2013 10:59 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Why do you need to write any code to do this, rather than using the functions of the product that are provided as is?
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Mar 01, 2013 2:22 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

I agree with mqjeff. WMB is very good at doing this type of transformation without any need for writing code.
You should
- Use the CWF parser to parse the input message
- Use the TDS parser to write the output message
You can use the same message set and the same message definition for input and output - just change the physical format from CWF to TDS.
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 » ESQL code in WMB for adding carriage return at every 1024
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.