Difference between revisions of "SET DATADIR"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
{{YLM to do}}
+
==Class==
 +
Environment
 +
 
 +
 
 +
==Purpose==
 +
Specify a directory in which files will be searched for and stored
 +
 
 +
 
 +
==Syntax==
 +
SET DATADIR TO [<path-name>]
 +
 
 +
 
 +
==See Also==
 +
[[CREATE DATABASE]], [[DB_DATADIR]], [[DEFAULT()]], [[OPEN DATABASE]], [[SET DEFAULT]], [[SET DIRECTORY]], [[SET PATH]], [[SET VIEW]], [[USE]]
 +
 
 +
 
 +
==Description==
 +
The SET DATADIR command is used to specify a  directory where database tables, memos, indexes, and dictionary  files are located.  When a table is being opened this directory is searched first before the current directory and the file search path to locate the table and its associated files.  This allows the database tables to be relocated to a different file system without the need to change an existing application.
 +
 
 +
 
 +
==Example==
 +
<code lang="recital">
 +
set datadir to /usr/app1/data/</code>
 +
 
 +
==Products==
 +
Recital Server, Recital
 +
 
 +
[[Category:Documentation]]
 +
[[Category:Commands]]
 +
[[Category:Set_Commands|DATADIR]]
 +
[[Category:Environment]]
 +
[[Category:Environment Set Commands]]

Revision as of 10:47, 13 October 2009

Class

Environment


Purpose

Specify a directory in which files will be searched for and stored


Syntax

SET DATADIR TO [<path-name>]


See Also

CREATE DATABASE, DB_DATADIR, DEFAULT(), OPEN DATABASE, SET DEFAULT, SET DIRECTORY, SET PATH, SET VIEW, USE


Description

The SET DATADIR command is used to specify a directory where database tables, memos, indexes, and dictionary files are located. When a table is being opened this directory is searched first before the current directory and the file search path to locate the table and its associated files. This allows the database tables to be relocated to a different file system without the need to change an existing application.


Example

set datadir to /usr/app1/data/

Products

Recital Server, Recital