IBM Support

Compliance error Error: EDI-0110 Incorrect Element Format or EDI-0330 Unexpected segment - occurs when Input file contains segment or element larger than 1024 in length in Sterling Gentran:Server for Microsoft Windows

Troubleshooting


Problem

When you process an Input file, a compliance error occurs: Error: EDI-0110 Incorrect Element Format - EDI-0330 Unexpected segment. The input file contains segment or element larger than 1024 in length

Symptom

Compliance error EDI-0110 Incorrect Element Format or EDI-0330 Unexpected Segment occurs after processing ANSI or EDIFACT data

Cause

Input file contains a segment larger than 1024 characters in length, but the build and break maps that you are using are only designed to handle a segment up to 1024 characters.

In newer versions of Sterling Gentran:Server for Microsoft Windows, this limitation was increased to 5120 instead of 1024.

Periodically, updated maps are delivered with patches. Search the Support\Maps folder for updates.

Resolving The Problem

The break and build maps and TPL files have all been modified to increase the maximum buffer size for segments and elements.

Here's how to see which break or build map is currently in use:

  1. Open the Desktop (EDIMGR.exe)
  2. Click View > Translation Objects
  3. Under the Type column, scroll to find the build or break map currently in use.
  4. Highlight it and click View
  5. Search for a line which starts with "File Name: " Take note of this file name.


You are advised to update to the latest patch level of Sterling Gentran:Server for Microsoft Windows.
If you cannot install the latest patch, then you can get the updated map and TPL files to register:

  1. Download the most recent patch for your version of Sterling Gentran:Server for Microsoft Windows.
  2. Unzip the patch file
  3. Go to the support folder
  4. Choose the file name which matches the file name you noted earlier in step 5
  5. Copy the file to GENSRVNT\TransObj directory
    If prompted to replace the file, click yes.
  6. To register the updated file, go to the Desktop (EDIMGR.exe)
  7. Click View > Translation Objects > New
  8. Go to GENSRVNT\TransObj directory
  9. Select the file that you copied to this location in step E.
  10. Click Open. Click "yes" to replace the file.


NOTE: THESE SYSTEM MAPS WILL NOT BE INSTALLED BY THE PATCH INSTALL.
YOU MUST GO THE SUPPORT FOLDER AND REGISTER THE TPL FILES MANUALLY.

 

 

[{"Product":{"code":"SS6V3G","label":"Sterling Gentran:Server for Microsoft Windows"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"Mapping and Translation","Platform":[{"code":"PF033","label":"Windows"}],"Version":"5.3.1;5.3;5.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI9855

Document Information

Modified date:
15 August 2018

UID

swg21547408