Data Dictionary Configuration File
The BASIS configuration file, most commonly named config.tpm,
is an ASCII text file that identifies the location of the data and dictionary
files. The file must contain the paths to the DICTIONARY and DATA directories
but can also contain global path and login information. The following
is an example of a standard config.tpm
file:
# Demo Database Configuration
DICTIONARY=c:\basis\ddbuild\examples\demo\bbdict\
DATA=c:\basis\ddbuild\examples\demo\data\
Configuration File Guidelines
#if, #else, #endif conditionals |
#if expression
|
#Include statements |
HOME=/usr/asmith/ |
Conditional blocks |
global
|
DICTIONARY and DATA directories |
DICTIONARY=/<main,port=1200>/u/confdb/bbdict/
|
File comments |
|
Forward or backward slashes |
|
Globals |
# Demo Database Configuration
BASE=$HOME Another way to accomplish this is to put the environment variable within parentheses. For example: DATA=($HOME)/data/ |