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 » IATA msgs breakline character

Post new topic  Reply to topic
 IATA msgs breakline character « View previous topic :: View next topic » 
Author Message
vickas
PostPosted: Wed Apr 06, 2016 9:10 pm    Post subject: IATA msgs breakline character Reply with quote

Centurion

Joined: 18 Aug 2013
Posts: 126

Hie All ,

Did anyone work on the IATA standard messages ??
did any1 tried to parse it ??
I have a doubt if we have to use %LF; or %CR;%LF; as the line break in DFDL .
I do understand that the %LF; in/from linux sys is equivalent to %CR;%LF; in/from windows sys .

Now am not sure if the legacy system which sends msg to the ESB sends with LF; breakline character or CRLF breakline character .

Ideally ,I have used CRLF till date in the DFDL for new line characters but here my source system is a legacy system .

can someone tell me what to do here ? go with CRLF ? or LF ?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Apr 07, 2016 12:08 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

To answer your question we would have to know in which codepage the Text you receive is in...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Thu Apr 07, 2016 12:45 am    Post subject: Re: IATA msgs breakline character Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

vickas wrote:
Hie All ,

Did anyone work on the IATA standard messages ??
did any1 tried to parse it ??


There are many different IATA Messages. Which ones are you talking about?

STX, AFTN or ???
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
timber
PostPosted: Thu Apr 07, 2016 12:55 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

fjb_saper said:
Quote:
To answer your question we would have to know in which codepage the Text you receive is in...
Not necessarily. It is very important to know the codepage ( character encoding ) of the input data, but that would not necessarily tell us what style of line break was being used.
Back to top
View user's profile Send private message
timber
PostPosted: Thu Apr 07, 2016 12:57 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Quote:
am not sure if the legacy system which sends msg to the ESB sends with LF; breakline character or CRLF breakline character
You cannot ( and should not ) take a guess, or make assumptions. This should be specified somewhere. Can you ask the team that maintains the source application?
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 » IATA msgs breakline character
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.