SAM Errors

SAMs have their own error codes. These error codes are in the -100000 range and are very rare. Some, however, are reported by Zim; the most likely ones are as follows:

-100012

The control file cannot be found. Ensure the SQLCPI environment variable points to the proper directory.

-100013

Ensure the SQLCPI environment variable is pointing to the correct directory.  Ensure the control file (i.e., odbc2m.cpi) contains the appropriate record.

-100023

Attempts by Zim to access the SAM have failed. Lack of memory is the likely cause.

-100037

Connect has failed. Check the CONNECT parameters.

-100047

Incompatible version numbers have been detected. Check that your SQLCPI variable is pointing to the correct directory, as it could accessing an out-of-date SAM.