ODBC Server Reference Manual
Stored Procedures
HP NonStop ODBC Server Reference Manual—429151-002
5-37
SPELIB Interface
The NonStop ODBC Server does not abort the transaction or terminate processing the
remainder of the messages coming back from server class. It is recommended,
however, that this message be the last message before END_STMT or END_PROC.
SP_SRV_ENCODE_OUTPUT_PARAMS
This function enables the server to encode any output parameters using one function
call.
env
input
is a pointer to the environment object STRUCT.
sqlda
input
is a pointer to a SQL descriptor area. The caller sets up the SQLDA which includes
a descriptor for each output parameter and the value of the output parameter.
SP_SRV_ENCODE_RETURN_STATUS
This function enables the server to encode a return status.
env
input
is a pointer to the environment object STRUCT.
status
input
specifies the return status to be encoded.
short int SP_SRV_ENCODE_OUTPUT_PARAMS
( void * env
, void * sqlda
)
short int SP_SRV_ENCODE_RETURN_STATUS
( void * env
, short int status
)