Question & Answer
Question
Code: 103 Illegal Repetition Separator", "Code: 109 Invalid Repeating Element Separator" or "java.lang.ArrayIndexOut " *|* -B7873637AC353A1685257918000BA487- *|*
Answer
Technote (troubleshooting)
Problem(Abstract)
"Code: 103 Illegal Repetition Separator" "Code: 109 Invalid Repeating Element Separator" or "java.lang.ArrayIndexOut "
Symptom
Using the caret (^) symbol as any delimiter in inbound X12 data for standards 004020 and above throws the error "Code: 103 Illegal Repetition Separator" or "Code: 109 Invalid Repeating Element Separator"
Background Information:
In 4010 version and earlier ISA 11 used to hold the "Interchange Control Standards Identifier" which means the Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer. These earlier standards DO NOT define a repeating element separator at all.
In this example ISA 11 holds the value "U" indicating "U.S. EDI Community of ASC X12 TDCC and UCS":
ISA*00*??????????*00*??????????*ZZ*GlobalChips????*ZZ*Acme???????????*080630*0350*U*00401*110000001*0*P*\~GS*PO*GlobalChips*Acme*20080630*0350*1101*X*004010
In version?4020 and later ISA11 is used as the repetition separator. This is a delimiter and not a data element.
This field provides the delimiter used to separate repeated occurrences of a simple data element or a composite data structure. The value must be different from any of the data element separator or component element separator or the 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*\~GS*PR*Acme*GlobalChips*20081217*0634*1001*X*004040~ST*855*1001
Errors which may occur:
"Code: 103 Illegal Repetition Separator"
When this error occurs?no matter what was being defined as the repeating element separator in the data GSI/SI was passing the default value of a ^ to the translator regardless of the version. So when the ^ was also used as any other delimiter GIS/SI would error.
"Code: 109 Invalid Repeating Element Separator"
When using a U in ISA 11 and ^ as any delimiters
Similar to the?"Code 103" except the 109 error is generated when also using the "U" in ISA11.
"java.lang.ArrayIndexOutOfBoundsException"
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"
Resolving the problem
Please apply Gentran Integration Suite Release 4.3 Build 4324 (or later) to resolve this issue.
Please apply Sterling Integrator Release 5.0 Build 5008 (or later) to resolve this issue.
If unable to patch a workaround is to replace the ^ symbol with any other valid delimiter;?the?documentKeywordreplace?service can be used for this purpose.?
Should be included in Build 5102 for Sterling Integrator release 5.1.
Historical Number
NFX10286
Product Alias/Synonym
Function Area
Standards
Escalation ID
235310 312003
Fix ID
234907 234664 247943
Severity
Critical
Type
NormalFix
Build
4324 5008 5102
Was this topic helpful?
Document Information
Modified date:
12 October 2021
UID
ibm10769401