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 » Reg: DFDL Message Model for CSV

Post new topic  Reply to topic
 Reg: DFDL Message Model for CSV « View previous topic :: View next topic » 
Author Message
bhanuprakashravilla
PostPosted: Mon Aug 28, 2017 6:32 am    Post subject: Reg: DFDL Message Model for CSV Reply with quote

Newbie

Joined: 08 Feb 2013
Posts: 7

Hello All

Input is CSV file and below is the data which am testing with my DFDL mesage model for CSV .

Input:

APF;0; ;Movements Bew Corp ;61500 ;AIR3396
APF;0; ;Diverse verkopen CORý ;70106COR ;AIR1146

Am getting the below error when i test with the above Message .Below is the error.

Aug 28, 2017, 3:18:29 PM fatal: CTDP3002E: Unexpected data found at offset '98485' after parsing completed. Data: '0x41...'.

only am getting error when there are some special charcters in the input message.

can someone please lemme know how to handle this with DFDL message Model .

Thanks in advance.
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Aug 28, 2017 7:10 am    Post subject: Re: Reg: DFDL Message Model for CSV Reply with quote

Grand High Poobah

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

bhanuprakashravilla wrote:
only am getting error when there are some special charcters in the input message.


I'm assuming here that the DFDL elements are "string". Do the special characters conform to that data type for the CCSID you're parsing with?

bhanuprakashravilla wrote:
can someone please lemme know how to handle this with DFDL message Model .


Either use a CCSID where those characters are legally part of a string element, or change the element definition to a non-string type that can hold such characters and manage them with code.
_________________
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 » Reg: DFDL Message Model for CSV
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.