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 » How to add a <U+0085> at the end of a message?!

Post new topic  Reply to topic
 How to add a <U+0085> at the end of a message?! « View previous topic :: View next topic » 
Author Message
Testo
PostPosted: Tue Sep 09, 2003 2:35 am    Post subject: How to add a <U+0085> at the end of a message?! Reply with quote

Centurion

Joined: 26 Feb 2003
Posts: 120
Location: Italy - Milan

I have a requirement from a customer to add a NewLine EBCDIC character (15) - which has the equivalent of <U+0085> - at the end of a message without altering the message set.
I have created a new Compute node just before the MQOutput node and I made some experiments with ASBITSTREAM and OutputRoot.BLOB but I'm not able to get the result wanted.
Any hint of possible eSQL statements to get it done?!

Thanks in advance,
Andrea Tedone
IBM AMS EMEA
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Craig B
PostPosted: Tue Sep 09, 2003 4:18 am    Post subject: Reply with quote

Partisan

Joined: 18 Jun 2003
Posts: 316
Location: UK

Hi,

When you say you have experimented with the ASBITSTREAM function what did you code for this? You mention a messageSet, so you are probably in the MRM domain. Did you try something the following :

Code:

 -- Copy All headers ESQL
 SET OutputRoot."BLOB"."BLOB" = ASBITSTREAM(InputRoot.MRM, InputRoot.MQMD.Encoding,InputRoot.MQMD.CodedCharSetId, InputRoot.Properties.MessageSet,InputRoot.Properties.MessageType, InputRoot.Properties.MessageFormat, RootBitStream) || X'15';


Since the bitstream is in hex, then you will be adding X'15' instead of <U+0085> TDS mneumonic you would have put in a messageSet.
_________________
Regards
Craig
Back to top
View user's profile Send private message
Testo
PostPosted: Tue Sep 09, 2003 4:35 am    Post subject: Thanks, it works! <eom> Reply with quote

Centurion

Joined: 26 Feb 2003
Posts: 120
Location: Italy - Milan

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

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to add a <U+0085> at the end of a message?!
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.