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 » Sample CSV Msg Set

Post new topic  Reply to topic
 Sample CSV Msg Set « View previous topic :: View next topic » 
Author Message
javaforvivek
PostPosted: Mon Jan 23, 2006 10:47 pm    Post subject: Sample CSV Msg Set Reply with quote

Master

Joined: 14 Jun 2002
Posts: 282
Location: Pune,India

Hi,
While working on WMB6 Samples Gallary, I came across a very good sample that is useful for all the CSV Message users.
I tried some these messages on my own, and for message CSV_6, I found that there is a problem in the sample project given.
There is a group called 'streetaddress2' which contains two group refernces 'streetaddressQuotes' and 'streetaddressNoQuotes'.
The Logical Composition of this 'streetaddress2' group is given as closed sequence. But when I tried to process the given sample message of type CSV_6 (CSV_msg6.enqueue), it gave me parserexception.
Here is the sample message
Code:

2005-04-01,X123456IB7,customer details
Bob,Dyson,"House of the Rising Sun, 1, Desolation Row",Orlando,FL,32802,HYT-457-AX
Jimmy,Pace,"1002, Misty Mountain Drive",New York,NY,10001,ADU-239-BX
Ralf,McCartney,67 Penny Lane,Las Vegas,NV,89125,JUI-854-CF
Elvis,John,3 Yellow Brick Road,Chicago,IL,60699,GGY-118-AS
Rick,Clayton,"461, Ocean Boulevard",Miami,FL,33101,LOP-212-TY
5

It parses first two customer lines and third line till lastname element. But since the address is defined as sequence, it couldnt parse it.
I made a small change in my CSV Msg Set - I set the logical composition of 'streetaddress2' to closed choice and it started working. It parsed the whole message correctly and converted it into XML successfully.
It might be a minor thing, but has anybody else come across the same issue? If not, then can somebody try it and confirm my point?
_________________
Vivek
------------------------------------------------------
...when you have eliminated the impossible, whatever remains, however improbable, must be the truth.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
wooda
PostPosted: Tue Jan 24, 2006 5:34 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

Hi javaforvivek,

It's great to hear you have been using the sample and find it useful.
You are quite correct that there was a bug in CSV_6 and it was exactly as you described.
You should find that this problem has been fixed in the next service release.

Thx,

Alex
Back to top
View user's profile Send private message
javaforvivek
PostPosted: Tue Jan 24, 2006 9:14 pm    Post subject: Reply with quote

Master

Joined: 14 Jun 2002
Posts: 282
Location: Pune,India

Quote:
You should find that this problem has been fixed in the next service release.

Can you please give me the link for downloading this fix? Is it the same 1.2GB fix (FP 6.0.0.1) for Toolkit?
_________________
Vivek
------------------------------------------------------
...when you have eliminated the impossible, whatever remains, however improbable, must be the truth.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
wooda
PostPosted: Wed Jan 25, 2006 1:03 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

Yes toolkit FP 6.0.0.1 should fix this problem.

Thx,

Alex
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 » Sample CSV Msg 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.