ODBC Server Reference Manual
Stored Procedures
HP NonStop ODBC Server Reference Manual—429151-002
5-41
SPELIB Interface
SPELIB Sequence Rules 
This subsection specifies the sequence considerations for the Pathway server and for 
the SPELIB functions (and the equivalent SPELIB shell routines provided with the 
sample Pathway server).
SP_SRV_ENCODE_INIT must be the first function called in the encoding process; 
SP_SRV_ENCODE_END_PROC is the last. In between, a prescribed logical 
sequence must be followed (for example, SP_SRV_ENCODE_ROW_DATA cannot 
precede SP_SRV_ENCODE_ROW_DESCR).
Figure 5-4 illustrates the sequence required for issuing SPELIB encoding functions. 
(The SP_SRV_ prefix has been removed from all of the function names in Figure 5-4 
because of space limitations.)










