Quoted text is from <[EMAIL PROTECTED]>, by zarkrax 
<[EMAIL PROTECTED]>

>I assumed this meant the UNH segment could only appear once in the 
>interchange, but clearly this may not be the case, it has left me a bit 
>confused. Can someone please clarify?

Although I do not think it is immediately obvious from the 
documentation, the first segment in any repeatable segment structure is 
called the lead segment. Effectively it is used to define the start of 
the repeating structure, so it is made mandatory, and it will have a 
repetition count of 1 since it would be difficult otherwise to 
distinguish between multiple occurrences of the segment in one 
structure, and multiple occurrences of the structure which was otherwise 
empty (this may not worry you but conversion software can get very 
unhappy about it).

Normally the repeating structure is an EDIFACT group, but an entire 
message is itself a repeating structure which can occur within an 
interchange or functional group, and so the same logic applies to UNH.


Regards
Chris
-- 
Chris Johnson  mobile:+44 (0)7785 302122
EDIMatrix Ltd  work: 0845 126 0680 or +44 20 8501 3097
                fax:  +44 (0)20 8501 3096
EDI website    http://www.edimatrix.co.uk


------------------------ Yahoo! Groups Sponsor --------------------~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/OIFolB/TM
--------------------------------------------------------------------~-> 

.  
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>
Access the list online at:  http://groups.yahoo.com/group/EDI-L
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EDI-L/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to