Daylight v4.9
Release Date: 1 February 2008


dt_isopen - test if a database is open

Generic Prototype

dt_isopen(dt_Handle, dt_String) => dt_Boolean

C Prototype

#include "dt_thor.h"

dt_Boolean dt_isopen(dt_Handle server, dt_Integer dblen, dt_String dbname)

FORTRAN Prototype

include ''

logical dt_f_isopen(server, dbname)

integer*4 server
character*() dbname


Tests to see if the database is already opened. A database is considered to be open if one or more clients have it open, or if it has been marked "hold" (see dt_hold(3)) so that it stays open even when no clients are using it.

Return Value

Returns TRUE if the database is open, FALSE otherwise. For all other object types, this property is defined as FALSE.

Related Topics

dt_database(3) dt_exists(3) dt_getdatabases(3) dt_getpasswords(3) dt_getsearchpath(3) dt_getusers(3) dt_open(3) dt_ping(3) dt_server(3) dt_setpassword(3) dt_setsearchpath(3)