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 » Message set creation for CSV file format

Post new topic  Reply to topic
 Message set creation for CSV file format « View previous topic :: View next topic » 
Author Message
schagan
PostPosted: Sun Oct 10, 2010 11:08 pm    Post subject: Message set creation for CSV file format Reply with quote

Newbie

Joined: 28 Sep 2010
Posts: 6

Hi,
I have a requirement to create a message set for a CSV file format. I have created the same but when deploying the mset and the corresponding flow onto the EG, i get the excpetion
BIP0800E java.util.regex.PatternSyntaxException
Illegal repeatition near index 29.
\$MQSI[\s_]?[\s_]*(Message Set {CD-RB}
({jda_ei_mset1}).......

I am unable to atleast figure what the error is all about. Please help me.

-Thanks!!
Back to top
View user's profile Send private message
schagan
PostPosted: Sun Oct 10, 2010 11:31 pm    Post subject: Reply with quote

Newbie

Joined: 28 Sep 2010
Posts: 6

I have created a XML schema of the incoming file format and used the xml schema to generate the message set. And also when i try to create a message set this way csv.mxsd is atomatically added to the MSP project. Please explain what this is about as this is the first time I am creating a message set for CSV type.

Thanks a lot
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sun Oct 10, 2010 11:46 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You should be starting from the CSV sample message set, not from anything else.

An XSD will only allow you to parse an XML document, not a CSV document, regardless of whether or not you use it as a starting point for a Message Definition.

Please get training on Broker. You appear to be missing some fundamentals.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Oct 12, 2010 1:04 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
And also when i try to create a message set this way csv.mxsd is atomatically added to the MSP project. Please explain what this is about
From memory, csv.mxsd contains a skeleton csv message model. If you have imported some xsds, you are tackling the task from the opposite direction, so you may as well delete it.

Quote:
Illegal repeatition near index 29.
\$MQSI[\s_]?[\s_]*(Message Set {CD-RB}
Not sure - is this your own regular expression, or one that was generated for you in csv.mxsd?

You could try adding a backslash before the dash, like this:
Code:
\$MQSI[\s_]?[\s_]*(Message Set {CD\-RB}
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 » Message set creation for CSV file format
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.