Closes the cursor and discards all pending results.
DBAPI.bdh
DB_CloseCursor(in cCursor: cursor): number;
SQL return code
rCode := DB_CloseCursor(c1);
DBApi01.bdf