Nonstop Database, HiRDB Version 9 Installation and Design Guide
This section describes the names of the following sample files:
The sample audit files are used in connection with JP1/NETM/Audit. The following table lists their file names and descriptions.
Table 21-1 Sample audit file names and descriptions
| File name | Description |
|---|---|
| HiRDB.conf | Product definition file |
| admjevlog_HiRDB.conf | Operation definition file |
| sampleaud1 | Search condition definition files |
| sampleaud2 |
For details about the environment settings that use these sample files, see Linkage to JP1/NETM/Audit in the HiRDB Version 9 System Operation Guide.
The table below lists and describes the directories and files used with the sample database.
The sample files are provided in a Japanese version (containing single-byte kana characters) and an English version. Unless Shift JIS is being used as the character encoding set, the English version of the sample files should be used.
Table 21-2 Directories and files used with sample database
| Name of directory or file | Contents | Remarks |
|---|---|---|
| tblecreate#1 | Table definition statements (including schema definitions) | pddef input format |
| loadinf#2 | Control statements for pdload | Shell |
| loaddata | Input data for data loading | Directory |
| CONTROL_FILE | Control statements for data loading | -- |
The table below describes the sample configuration.
This sample configuration uses values based on the minimum configuration in order to simplify the relationships among parameters; these are not the optimum values.
Table 21-3 Contents of sample configuration
| Classification | Contents | File name | ||
|---|---|---|---|---|
| HiRDB single server configuration | HiRDB parallel server configuration | |||
| System definitions | System common definition | Pdsys | pdsys | |
| Unit control information definition | Pdutsys | pdutsys1, pdutsys2 | ||
| Server common definition | -- | pdsvrc | ||
| Single server definition | sds01 | -- | ||
| Front-end server definition | -- | fes1 | ||
| Back-end server definition | -- | bes1, bes2 | ||
| Dictionary server definition | -- | dic1 | ||
| Allocation/ initialization of HiRDB file system areas | Shell for allocating RDAREAs | Fmkfile | fmkfile | |
| Shell for allocating system log, synchronization point dump, and status files | Sysfmkfs | sysfmkfs1, sysfmkfs2 | ||
| Shell for initializing system log, synchronization point dump, and status files | Sysfinit | sysfint | ||
| Log unloading | Shell for unloading system log files | logunld | feslogunld, bes1logunld, bes2logunld, diclogunld | |
| Database initialization utility | Shell for creating control statements | mkinit | mkinit | |
| Database initialization utility control statements | rdinit01# | rdinit01# | ||
| Execution of operation commands under aliases | Sample of shell script for executing operation commands under aliases | Bourne shell | aliascmdbsh | aliascmdbsh |
| C shell | aliascmdcsh | aliascmdcsh | ||
The UOC shown below is provided. The table below describes the sample UOC.
For details about UOCs, see the manual HiRDB Version 9 Command Reference.
Table 21-4 Contents of sample UOC
| File name | Contents |
|---|---|
| sample1.c | Example of UOC for entering DAT-format input files by the database load utility |
| sample2.c | Example of UOC for entering binary format input files |
| sample4.c | Functions used by sample2.c |
| sampleA.c | Example of UOC that prevents output of unneeded data to an unload file |
| sampleB.c | Example of UOC that outputs a UOC data file |
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.