HyperCrash

Database Main Table

Database Main Table

Previous topic Next topic Expand/collapse all hidden text  

Database Main Table

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

The file, $MCRASHDIR/dummng/database_main.tbl defines the path of the different databases:

Two types of database may be defined:

Private database: just for the user
Public database: for any user

Card 1:

This card defines the type of database and their path:

/DUMMNG/DATABASE/type

<full_path>database_name_table.tbl

Where:

 

Type

Unit

DUMMNG

is a keyword

Keyword

No

DATABASE

is a keyword

Keyword

No

type

is a keyword which define the type of database :

PRIVATE for the private database
PUBLIC for the common database

Keyword

No

database_name_table.tbl

is the file name (with the full path) of the database table list of each databases

String

No

Several database tables can be defined under this keyword line.

Card 2: end of file

/END

Where:

 

Type

Unit

END

Keyword to finish the input.

Keyword

No

hmtoggle_plus1Example

/DUMMNG/DATABASE/PRIVATE

$HOME/private_database/private_dummy_database_1.tbl

/DUMMNG/DATABASE/PUBLIC

$MCRASHDIR/database/dummy_database1.tbl

$MCRASHDIR/database/dummy_database2.tbl

/END

 

Database table file

For each database, there is only one table file (.tbl). This file defines all the sub-models (B00 files) located in the database.

Card 1: Dummy database path

This card defines the database path:

/DUMMNG/DATABASE/DIRECTORY

directory_path

Where:

 

Type

Unit

DUMMNG

is a keyword

Keyword

No

DATABASE

is a keyword

Keyword

No

DIRECTORY

is a keyword

Keyword

No

directory_path

is the default directory path where the dummy model will be stored

String

No

Card 2: model description

/DUMMNG/IMPORT/ONLY_DATABASE/YES

Option to deactivate the page (D00) where the user can read a dummy model which is not set in the database.

Card 3: model description

/DUMMNG/DATABASE/MODEL

/path/File_name

1

2

3

4

5

6

7

8

9

10

Key_1

Key_2

 

 

 

 

 

 

 

Where:

 

Type

Unit

DUMMNG

is a keyword

Keyword

No

DATABASE

is a keyword

Keyword

No

MODEL

is a keyword

Keyword

No

File_name

is the file name of the dummy model defined with its full path and/or with the variable, $MCRASHDIR.

String

No

Key_i

is the keyword list used to defined the model. The keywords are defined in the file, $MCRASHDIR/dummng/keyword.tbl

String

No

To write a keyword with more than eight characters, the character ’@’ will be set at the first position of the next field (See the section, Keyword).

Card 4: end of file

/END

Where:

 

Type

Unit

END

Keyword to finish the input.

Keyword

No

hmtoggle_plus1Example

#--1---|---2---|---3---|---4---|---5---|---6---|---7---|---8---|---9---|--10---|

/DUMMNG/DATABASE/DIRECTORY

$DUMMY_BASE

#--1---|---2---|---3---|---4---|---5---|---6---|---7---|---8---|---9---|--10---|

/DUMMNG/DATABASE/MODEL

$DUMMY_BASE/H350R12BD00

HYBRID_I@II     50      RIGID

#--1---|---2---|---3---|---4---|---5---|---6---|---7---|---8---|---9---|--10---|

/END

 

Dummy database environment

The dummy database will be defined with the variable, DUMMY_BASE.

 

Go to

Environment File Description