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 » Beginner question on csv message set

Post new topic  Reply to topic
 Beginner question on csv message set « View previous topic :: View next topic » 
Author Message
KIT_INC
PostPosted: Fri Apr 11, 2008 7:22 am    Post subject: Beginner question on csv message set Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

I am runng WMB 61 on WINXP

I have a very simple message containing 3 elements
NAME , ADDRESS, and ACCOUNT

the sample message is
Tom;123 mystreet;123456;

I defined a message customer with 3 elements name , address and account all of Type String

In mesageset.mset under Tagges/Delimited String Formats/text1
I have delimiter';' and Suppress Absent Element Delimiter 'End of Type'

In properties Hierarchy of all 3 elemets under text1/local element , they all have physical type Text and length 0, length unit characters

The result of parsing shows (using debug)
Message
Properties
MQMD
MRM
NAME Tom
ADDRESS 123 mystreet
ACCOUNT 123456;

The ';' is picked up as part of the ACCOUNT
Is this normal ? If not, please help me on what I missed ?
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Apr 11, 2008 7:49 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

In the TDS format, the delimiter separates the members of a complex type or group. It is not a terminator.
That final ; is a terminator, so you need to set the Group Terminator on the complex type to ;
Back to top
View user's profile Send private message
KIT_INC
PostPosted: Fri Apr 11, 2008 8:13 am    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

Thanks, that works.
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 » Beginner question on csv message set
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.