dbIsOpen

Purpose

Reports whether a specified database connection is open.

Format

ret = dbIsOpen(db_id)
Parameters:db_id (scalar) – database connection index number.
Returns:ret (scalar) – 1 if the connection is open or 0 if it is closed.