User`s guide

isconnection
7-171
isconnection
Determine if database connections are valid
Syntax
a = isconnection(conn)
Description
a = isconnection(conn) returns 1 if the database connection conn is valid, or
returns 0 otherwise.
Examples
Check if the database connection conn is valid.
a = isconnection(conn)
a =
1
See Also
database | isreadonly | ping