No output is created when using the S57ARC command, and the following error messages are produced (a value of 99 is used here, but it could be any number):
Scanning object file .\s57file.000
LookupAGENlabel: unable to locate label from attr code 99
Read8211FieldSubFields: unable to decode binary value for
subField label: AGEN , format: L12, value: 99
ReadObjectsIntoTable: Error reading object record 1
RecordObjectInfo: Error reading objects into hash table
OpenObjectFile: Error recording object information
ImportObjectFile: Error calling OpenObjectFile
S57obj2Arc: Error importing object file .\s57file.000
The S-57 file contains an AGEN (agency), OBJL, or ATTL code that is not in the %ARCHOME%\template\S-57 files.
The S57ARC and ARC57 commands only support the published agency codes of the International Hydrographic Organization. If the S57ARC command encounters an unrecognized agency code, it will stop importing and produce the above error message.
The same problem will be encountered if the S-57 file contains a code that is more than five digits long.