Getting Started with SAND CDBMS: Basic Steps
1. Creating a Database File
 

Once SAND CDBMS software has been successfully installed, and the NUCLEUS variable correctly configured in the user profile (on UNIX systems), you can proceed to create a new database file. Database files can be created using the nconfig utility (as described below), or with the nserv program (as described in the next step). The nconfig utility is also used to configure the location and maximum size of the files making up databases. For more information, consult the SAND CDBMS Tools Reference Guide.


Creating a Database Using nconfig


1.
Create a directory for the database:

UNIX:
Create a subdirectory in the /usr/sand directory (for example, /usr/sand/testdb).

Windows:
Create the directory TESTDB on the desired drive (for example, X:\TESTDB).

   Change to the new directory.


2.
At the operating system command prompt, type nconfig followed by a name for the database. Press <Enter>. This invokes the nconfig utility and creates a new database file (with the .n00 extension).

/usr/sand/testdb> nconfig test

-or-

X:\TESTDB> nconfig test

SAND CDBMS
Database Configuration program - Release 5
Copyright (C) 1987-2006 SAND Technology Inc.

All rights reserved.

NEW DATABASE: test.n00

command:
 

3. At the command prompt, type w, then press <Enter>. The File to write prompt appears, showing the database name you originally supplied. Press <Enter> to write the default configuration to the new database file. Configuration options can be changed at any time using nconfig; consult the SAND CDBMS Tools Reference Guide for more information.

command: w

File to write (test.n00):

command:


4.
At the command prompt, type q and press <Enter> to quit the nconfig utility.

command: q


Next step:
Start an instance of the new database using the nserv program.