Daylight v4.9 Release Date: 1 February 2008 Namedt_isopen - test if a database is openGeneric Prototypedt_isopen(dt_Handle, dt_String) => dt_BooleanC Prototype#include "dt_thor.h"dt_Boolean dt_isopen(dt_Handle server, dt_Integer dblen, dt_String dbname) FORTRAN Prototypeinclude 'dt_f_thor.inc'logical dt_f_isopen(server, dbname)
integer*4 server
DescriptionTests 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 ValueReturns TRUE if the database is open, FALSE otherwise. For all other object types, this property is defined as FALSE.Related Topicsdt_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) |