Question & Answer
Question
Segments
Answer
Segments
A segment is a set of two or more related data elements.The segment describes the data in the data element. For example individuallythe data elements FNAME and LNAME have little meaning. However whencombined they form the CUSTOMER NAME data segment.
An EDI standard provides a wide range of segment types to supporta variety of business needs. Each segment contains data elements thatdefine the purpose of the segment. Most segments are variable-lengthbecause the associated data elements are variable-length.
A segment terminator is a special character that marks theend of a segment.
The segment terminator must be defined in the EDI data format.Select a character that is not likely to be used in any content information.This will help prevent translation errors during processing. The tilde(~) and new line (N/L) characters are common segment terminators forthe ANSI X12 standard. The single quote (') is a common segmentterminator in the UN/EDIFACT and TRADACOMS standards.
The following figure shows a segment structure:
Was this topic helpful?
Document Information
Modified date:
08 December 2018
UID
ibm10758435