Programming Guide



dm_cursor_consistent

Determines if a cursor is on the default connection

#include <dmuproto.h>
int dm_cursor_consistent(char *cursor_name);

cursor_name
Specifies a cursor name. For a named cursor, use the name specified in a DBMS DECLARE CURSOR command. For a default cursor, specify as a null pointer or an empty string.

Returns

Description

dm_cursor_consistent determines whether a database cursor is on the default connection. The cursor may be named, or if cursor_name is a null pointer or an empty string, the default cursor.

See Also

dm_cursor_connection, dm_cursor_engine