ODBC Server Reference Manual
Stored Procedures
HP NonStop ODBC Server Reference Manual—429151-002
5-45
SPELIB Interface
•
SPELIB_EXCEEDS_MAX_BUFFER
The reply buffer size exceeds the 32K bytes limit. The server class program can
readjust the buffer size or encode the SPELIB error and issue a REPLY.
•
SPELIB_VERSION_NOT_SUPPORTED
The SPELIB version does not match between the requester and the server. The
server class program should issue a REPLY with the currently supported SPELIB
version. When the NonStop ODBC Server receives the reply, it attempts to
communicate with a server having the SPELIB version supported by the server. If
this attempt fails, an “SPELIB version mismatch” error message is sent to the
client.
•
SPELIB_UNKNOWN_SQLDA_VER
The SQLDA version is not recognized.
This is considered as an internal error. The server class program should encode
the SPELIB error and issue a REPLY.
•
SPELIB_UNKNOWN_SQLCA_VER
The SQLCA version is not recognized.
This is considered as an internal error. The server class program should encode
the SPELIB error and issue a REPLY.
•
SPELIB_INVALID_MSG_TYPE
An SPELIB message type is not recognized.
This is considered as an internal error. The server class program should encode
the SPELIB error and issue a REPLY.
•
SPELIB_INVALID_SEQUENCE
The SPELIB encoding sequence has been violated.
This is a caller error. The server class program can either change the calling
sequence or encode the SPELIB error and issue a REPLY.
•
SPELIB_INVALID_PARM_ADDRESS
A parameter pointer address is invalid.
This is considered a caller error. The server class program should encode the
SPELIB error and issue a REPLY.
•
SPELIB_INVALID_PARM_VALUE
A parameter value is out of range.
This is considered a caller error. The server class program should encode the
SPELIB error and issue a REPLY.
•
SPELIB_INVALID_ENV_OBJECT