Troubleshooting
Problem
When the caret (^) symbol appears as the element separator, sub-element separator, or segment terminator in inbound X12 data for versions 004020 and above, SI throws the error "Code: 103 Illegal Repetition Separator" or "Code: 109 Invalid Repeating Element Separator"
Symptom
Background Information:
In X12 versions 4010 and earlier, ISA11 contains the Interchange Control Standards Identifier (usually the letter 'U'.) X12 versions 004010 and earlier predate the introduction of the Repetition Separator (also called the Repeating Element Separator.).
ISA*00* *00* *ZZ*GlobalChips *ZZ*Acme *080630*0350*U*00401*110000001*0*P*\~
In X12 versions 4020 and later, ISA11 contains the Repetition Separator, which defines a delimiter and not a data element. This element specifies the delimiter used to separate repeated occurrences of a simple data element or a composite data structure. The value must be distinct; the same value should not be used as the element separator, component element separator, or segment terminator.
In this example, the ISA11 holds ^ as the Repetition Separator:
ISA*00* *00* *ZZ*ACME *ZZ*GlobalChips *081217*0634*^*00404*100000001*0*P*\~
Errors which might occur:
"Code: 103 Illegal Repetition Separator"
This error occurs because SI ignored the the repeating element separator defined in the data and passed a default value of a caret ( ^) to the translator .If the caret was already in use as one of the other delimiters, SI would error.
"Code: 109 Invalid Repeating Element Separator"
This occurs when ISA11 contains a 'U' and a caret appears as any other delimiter
Similar to the "Code 103" except the 109 error is generated when also using the "U" in ISA11.
"java.lang.ArrayIndexOutOfBoundsException"
This occurs when the sub element delimiter is a ^ and the segments are newline terminated.
Error Message
"Code: 103 Illegal Repetition Separator"
"Code: 109 Invalid Repeating Element Separator"
"java.lang.ArrayIndexOutOfBoundsException"
Log InLog in to view more of this document
Historical Number
NFX10286
Was this topic helpful?
Document Information
Modified date:
04 February 2020
UID
swg21557957