# dbIsOpenError¶

## Purpose¶

Reports whether an error occurred while attempting to open the database connection.

## Format¶

ret = dbIsOpenError(db_id)
Parameters: db_id (scalar) – database connection index number. ret (scalar) – 1 if there was an error or 0 if not.