Previous Topic Next topic Print topic


To create an error map

Restriction: This topic applies only when a Database Connectors license has been installed via the Micro Focus License Management System.

Although you can check your data source documentation for error code information, the easiest way to determine which error codes need to be mapped to more appropriate COBOL codes is through trial and error. As users use Database Connectors DB2, they may report receiving error messages that don't make sense based on their situation. Research these errors and try to determine a more appropriate COBOL error response.

When you create your error map file, use the following guidelines:

The file DB2.err contains some initial file error mappings.

Previous Topic Next topic Print topic