UCS Segment error indication

To identify either a segment containing an error or a missing segment, and to identify any error related to the complete segment.

Position
Element
Name
Type
Requirement
Min
Max
Repeat
010
Segment position in message
Numeric (N)
Mandatory
1
6
1
The numerical count position of a specific segment that is within the actual received message. The numbering starts with, and includes, the UNH segment as segment number 1. To identify a segment that contains an error, this is the numerical count position of that segment. To report that a segment is missing, this is the numerical count position of the last segment that was processed before the position where the missing segment was expected to be. A missing segment group is denoted by identifying the first segment in the group as missing.
020
Syntax error, coded
String (AN)
Conditional
1
3
1
A code indicating the syntax error detected.

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.