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 » Triiming Delimited Fields

Post new topic  Reply to topic
 Triiming Delimited Fields « View previous topic :: View next topic » 
Author Message
vk
PostPosted: Thu Oct 12, 2006 3:54 pm    Post subject: Triiming Delimited Fields Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

Hi,

I have a delimited message structure coming from the source application. To handle this, I have created a TDS message set with data element separation for the type as All Elements Delimited.

The design is working fine, but I had a question on how to trim the spaces that come at the end of some elements. The message format is as follows -

Field1,Field2 ,Field3,Field4 ,Field5

In the case of Fixed Width message sets, we can use the message set level property Trim Fix Len String to Trim Both or Trim Padding Characters to remove the extra spaces in the fields, when the message tree is created. But this is not working for delimited structures.

I am currently doing an explicit TRIM in the ESQL for all required fields. Is there a better way to handle this at the message set level?

Thanks,
VK.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Oct 13, 2006 12:38 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

I don't think there is a way to make the TDS format trim a delimited field. Looks like your current solution is the only option, at least for now.
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 » Triiming Delimited Fields
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.