db_is_working Function

Returns 1 if your application has a database request in progress that uses the given sqlca and 0 if there is no request in progress that uses the given sqlca.

Syntax

unsigned short db_is_working( SQLCA * sqlca );

Parameters

Returns

1 if your application has a database request in progress that uses the given sqlca and 0 if there is no request in progress that uses the given sqlca.

Remarks

This function can be called asynchronously. This function and db_cancel_request are the only functions in the database interface library that can be called asynchronously using a SQLCA that might be in use by another request.