Create Database (rdm-create)

A command-line utility that creates an RDM database from a database schema file. Create a database image on a remote TFS or in the default Document Root (DOCROOT) location. Below are some examples:

Create bookStore Database on Local Machine

rdm-create bookStore.sdl

The above command will create the database bookStore on the local machine in the default docroot directory.

rdm-create --docroot=C:\RDMDATA bookStore.sdl

The above command will create the database bookStore on the local machine in the C:\RDMDATA docroot directory.

rdm-create --docroot=C:\RDMDATA --output=booksRus bookStore.sdl

The above command will create the database booksRus on the local machine in the C:\RDMDATA docroot directory. Since the database name booksRus is provided in the --output=db_namespec, this will be the name of the database.

Create bookStore Database on Remote TFS

The remote TFS must be running and accessible (See rdm-tfs).

rdm-create --output=tfs://localhost:21553 bookStore.sdl

The above command will create the database bookStore on a TFS running on localhost:21553. Since the database name was not provided in the --output=db_namespec, the database name defaults to the base name of the schema file.

rdm-create --output=tfs://localhost:21553/booksRus bookStore.sdl

The above command will create the database booksRus on a TFS running on localhost:21553. Since the database name booksRus is provided in the --output=db_namespec, this will be the name of the database.

On Linux/UNIX like operating systems, the name of the database IS case-sensitive! If we create the booksRus database, a database open requesting BooksRus will fail with a database not found error.

For more detail on the rdm-create utility, see the rdm-create section.