ODBC Server Reference Manual

Stored Procedures
HP NonStop ODBC Server Reference Manual429151-002
5-52
Shell Routines Interface
output_buffer: IN/OUT: pointer to the output buffer
input_sqlda: IN/OUT: pointer to the input parameter sqlda
Returns: if successful -- SPELIB_OK
else -- an SPELIB error
___________________________________________________________________*/
short int get_input_params( void *env
, short int *reply_err
, unsigned long int max_len
, char *output_buffer
, struct SQLDA_TYPE *input_sqlda
);
get_scale_qualifier
extern
/*_____________________________________________________________________
This function determines the scale or the qualifier of the data in
the SQLDA.
sqlvar: IN: pointer to the current sqlvar entry
Returns: if successful -- len
else -- 0
_____________________________________________________________________*/
short int get_scale_qualifier(struct SQLVAR_TYPE *sqlvar);
get_SPE_info
extern
/*_____________________________________________________________________
This function decodes the service name, sp name, process name, and
usernames into the spe_info struct.
env: IN: pointer to the SPELIB environment object
Returns: if successful -- SPELIB_OK
else -- and SPELIB error
___________________________________________________________________*/
static short int get_SPE_info(void *env);
initialize_SQLDA
extern
/*_____________________________________________________________________
This function initializes the SQLDA data struct, using the SQLDA
descriptor struct. It assumes that the SQLDA descriptor struct has
already been initialized.
SQLDA_data: OUT: the SQLDA data struct
SQLDA_descriptor: IN: the SQLDA descriptor struct
___________________________________________________________________*/
void initialize_SQLDA( void *SQLDA_data
, void *SQLDA_descriptor
);