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 » EDIFACT Message Segment contains an extra Delimiter

Post new topic  Reply to topic
 EDIFACT Message Segment contains an extra Delimiter « View previous topic :: View next topic » 
Author Message
Lalitha
PostPosted: Thu Feb 17, 2005 6:36 am    Post subject: EDIFACT Message Segment contains an extra Delimiter Reply with quote

Newbie

Joined: 17 Feb 2005
Posts: 3

I am trying to convert an XML message to EDIFACT,

I am getting an Extra delimiter '+' apart from the Group Terminator "'".

UNB+JDJDD:1+120307+ABC33883'+
ORG+LH'

The " + " at the end of UNB segment is the problem.
I cheked all the physical propeties.Not getting any clue of where it could be wrong.
Back to top
View user's profile Send private message
Alison Swift
PostPosted: Thu Feb 17, 2005 9:46 am    Post subject: Extra delimiter or missing segment header? Reply with quote

Newbie

Joined: 17 Feb 2005
Posts: 3

Could it be that, rather than having an extra delimiter, you are actually missing the start of the next segment? i.e. perhaps your text should read:
UNB+JDJDD:1+120307+ABC33883'
UNG+ORG+LH'
(or other segment header your expecting?)
Alternatively (if you are using a custom parser to generate the EDIFACT, rather than a message set), check the code that is adding the separator characters at this point.
Hope this is helpful.
Back to top
View user's profile Send private message
Lalitha
PostPosted: Thu Feb 17, 2005 9:55 pm    Post subject: Only Message Sets are being used Reply with quote

Newbie

Joined: 17 Feb 2005
Posts: 3

I am using only message set and no custom parsers.

As u have mentioned, how to have the start of next segment different from the data elements, other than metioning in the physical properties as follows

Group Terminator <EDIFACT_GROUP_TERM>
Delimiter <EDIFACT_DS>

for the segment starting with ORG Tag below

UNB+JDJDD:1120307:ABC33883'+
ORG+LH'

Pls let me know if need to have something additional. Thanks
Back to top
View user's profile Send private message
Alison Swift
PostPosted: Fri Feb 18, 2005 1:42 am    Post subject: Reply with quote

Newbie

Joined: 17 Feb 2005
Posts: 3

The only thing I can think of (note I'm not an expert on message sets) is to look at whether you are terminating a group or a segment

The separation/indicator characters in EDIFACT should be of these types (with my guesses as to what yours are)

1. Sub-element separator :
2. Element separator
3. Decimal notation
4. Release Indicator
5. Segment terminator

Your message set may add others, to augment what EDIFACT does.
Back to top
View user's profile Send private message
Alison Swift
PostPosted: Fri Feb 18, 2005 1:46 am    Post subject: Reply with quote

Newbie

Joined: 17 Feb 2005
Posts: 3

The only thing I can think of (note I'm not an expert on message sets) is to look at whether you are (1) terminating a segment correctly or (2) terminating a group instead.
(1)
The separation/indicator characters in EDIFACT should be of these types (with my guesses as to what yours are)

1. Sub-element separator :
2. Element separator +
3. Decimal notation
4. Release Indicator
5. Segment terminator '

If your 'group terminator' is the segment terminator above, and your 'delimiter' is the element separator, then you don't need both - you just need to terminate the segment.

(2)
Alternatively, your message set may add other separation/indicator characters, to augment what EDIFACT does. It may include a group terminator (which terminates a group of segments).
Back to top
View user's profile Send private message
Lalitha
PostPosted: Fri Feb 18, 2005 2:00 am    Post subject: Problem Solved Reply with quote

Newbie

Joined: 17 Feb 2005
Posts: 3

The Edifact property of the Complex Type had both Delimiter and Tag data seperator.

I removed the Delimiter... It works fine now.

Thanks for the help
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 » EDIFACT Message Segment contains an extra Delimiter
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.