SPQLFREESTOK() API Function

Frees resources used by a previously performed statement.

Valid in: SPD Server

Syntax

int spqlfreestok(int void *stmttok)

Required Argument

void *stmttok

statement token to free resources.

Details

Call SPQLFREESTOK() after the data or information from the statement token has been extracted. You can call this function before all selected rows from the SPQLPERFORM() function are read. If you do, the remaining unread rows (from the previous select) are discarded.
Returns: 0 if successful.
Last updated: February 8, 2017