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 » DFDL Parsing for the file with semicolon

Post new topic  Reply to topic
 DFDL Parsing for the file with semicolon « View previous topic :: View next topic » 
Author Message
raana
PostPosted: Fri Feb 17, 2017 2:39 am    Post subject: DFDL Parsing for the file with semicolon Reply with quote

Newbie

Joined: 15 Jan 2017
Posts: 6

How to parse the file which is having the semicolon as field element separator, as semicolon is not listed in the Message model wizard for "field separation".

EC030954-001;005;390;BOO2


Last edited by raana on Mon Feb 20, 2017 12:06 am; edited 1 time in total
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 17, 2017 6:21 am    Post subject: Re: DFDL Parsing for the file with semicolon Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

raana wrote:
How to parse the file which is having the semicolon as field element separator, as semicolon is not listed in the Message model wizard for "field separation".


Don't use the wizard.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
timber
PostPosted: Fri Feb 17, 2017 6:24 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Or use the 'Records and fields' option instead of the 'CSV' option.
Back to top
View user's profile Send private message
raana
PostPosted: Sun Feb 19, 2017 9:40 pm    Post subject: Reply with quote

Newbie

Joined: 15 Jan 2017
Posts: 6

Thank you vitor and timber for your responses.

A simple semicolon in that wizard would made my day much easier. Now i need to find alternate ways of achieving the results.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 21, 2017 5:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

raana wrote:
A simple semicolon in that wizard would made my day much easier.


Raise an RFE. Seriously.

raana wrote:
Now i need to find alternate ways of achieving the results.


Given the simplicity of your record format and the suggestion of @timber that's not hard.

If you prefer to avoid even that level of original thought, use the wizard to model your record as if the pipe character (or other listed delimiter) was being used. Then edit each occurrence of that delimiter to be a semicolon and see how that works.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » DFDL Parsing for the file with semicolon
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.