For a description of the steps carried out by this function when ForceStart is not specified, see Locating a database server.
If the database server was already running or was successfully started, the return value is TRUE (non-zero) and SQLCODE is
set to 0. Error information is returned in the SQLCA.
The following call to db_start_engine starts the database server and names it demo, but does not load the database, despite
the DBF connection parameter:
This call starts the server, names it eng_name, and starts the SQL Anywhere sample database on that server.
The db_start_engine function attempts to connect to a server before starting one, to avoid attempting to start a server that
is already running.
The ForceStart (FORCE) connection parameter is used only by the db_start_engine function. When set to YES, there is no attempt
to connect to a server before trying to start one. This enables the following pair of commands to work as expected:
If ForceStart (FORCE) was not used, and without a ServerName (Server) parameter, the second command would have attempted to
connect to server_1. The db_start_engine function does not pick up the server name from the -n option of the StartLine (START)
parameter.