acnet_status.i2.v = db_open(db_handle.sp.r, db_server.i1a.r,
				    db_name.i1a.r, max_wait.i4.v)

	This routine opens a connection to a relational database.
	It provides a database handle to be used with subsequent calls
	to db_select, db_modify and db_close.
	Help with datatypes and creating tables is in intro_database.

	db_handle	pointer to a pointer to a database handle
			(This is a structure of type db_handle_t.)
	db_server	database server to contact
	db_name		database name on server to use
	max_wait	maximum wait time in seconds
			(60 second default if zero is passed)

	This function returns ACNET status values as follows:

	OK			success
	SQL_xxx			database access failure

	This function requires the following include files:

	clib_h, cns_data_structs_h, acnet_errors_h

	Related functions:

	db_select, db_modify, db_close, db_error, db_nextrow

	C/C++ usage:

	usage example