Contents Index Some common options Naming the server and the databases

ASA Database Administration Guide
  Running the Database Server
    Some common options

Using configuration files


If you use an extensive set of options, you can store them in a configuration file and invoke that file in a server command. The configuration file can contain options on several lines. For example, the following configuration file starts the personal database server and the sample database. It sets a cache of 10 Mb, and names this instance of the personal server Elora. Lines with # as the first comment in the line are treated as comments.

# Configuration file for server Elora
-n Elora
-c 10M
path\asademo.db

In the example, path is the name of your SQL Anywhere directory. On UNIX, you would use a forward slash instead of the backslash in the file path.

If you name the file sample.cfg, you could use these options as follows:

dbeng9 @sample.cfg

For more information, see @filename server option.


Contents Index Some common options Naming the server and the databases