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 » Double Quotes in fixed length file - Parsing failed

Post new topic  Reply to topic
 Double Quotes in fixed length file - Parsing failed « View previous topic :: View next topic » 
Author Message
ajayrana
PostPosted: Mon May 26, 2014 1:47 am    Post subject: Double Quotes in fixed length file - Parsing failed Reply with quote

Apprentice

Joined: 08 May 2014
Posts: 35

Hi All,

I am parsing a fixed length file with address as one of the string field in it. One of the address in the file starts with "C" (with the double quotes) and as soon as this point is reached in parser i get below output :

No markup found after the escape block.

After this the parser assumes the file is over, and treats the next line as trailer and fails because the trailer identifier is not there.

Is there a way i can make it parse the string as it is.

I am using IIB 9.

Thanks & Regards
Ajay Rana
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon May 26, 2014 1:26 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

This error only occurs when your DFDL escape scheme is set to 'Escape block'. That means that the entire field is enclosed within a pair of escape characters.
But your file is a 'fixed length' file. Normally, a data format that uses fixed-length fields does not need an escape scheme.

So, you should either
a) check that you have correctly modelled the escape scheme for your data format or
b) set dfdl:escapeSchemeRef to "" ( the empty string ) for your entire model. You can do that by modifying the 'Default format' in the 'Data Formats' section of the DFDL editor.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
ajayrana
PostPosted: Tue May 27, 2014 10:31 pm    Post subject: Reply with quote

Apprentice

Joined: 08 May 2014
Posts: 35

Hi Kimbert.

Thanks again ! it worked for us.

Thanks & Regards
Ajay Rana
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 » Double Quotes in fixed length file - Parsing failed
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.