Setting the default database, registering or choosing which to use

The nature of different underlying host platforms means there are a few differences to understand.

Windows
mkdbase will create and register a database on a system. For databases where the directory tree internal file structure has been copied from system to system use mkdbase with the "-R" option, which will register the specified database directory in its current location.

UNIX
Use netadmin to add an entry for networking purposes, however, there is no equivalent to Windows as a command line is always used for database login.

Default Database
On Windows use the netadmin host command and the "defaults option" to set a default database which will be used when users login via telnet or just run reality from a DOS command prompt. To access the non-default database at telnet login use the form user_id@database_name – where database_name is a registered database

On UNIX there is no default database, in that the database required has to be specified using the reality command or setup using the REALDBASE environment variable.

Note: Internal file structures of Databases cannot be copied from one machine type to another, e.g. Intel to Sun/SPARC to AIX pSeries.

Back to articles