24.1.1 Names of sample files

This section describes the names of the following sample files:

Organization of this subsection
(1) Name of sample database file
(2) Names of sample configuration files
(3) Sample UOC files

(1) Name of sample database file

Table 24-1 lists and explains 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 24-1 Directories and files used with sample database

Name of directory or fileContentsRemarks
tblecreate1Table definition statements (including schema definitions)pddef input format
loadinf 2Control statements for pdloadShell
loaddataInput data for data loadingDirectory
CONTROL_FILEControl statements for data loading[Figure]
Legend:
[Figure]: Not applicable
1 The file name of the English version is tblecreate_e.
2 The file name of the English version is loadinf_e.

(2) Names of sample configuration files

Table 24-2 lists the contents of 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 24-2 Contents of sample configuration

ClassificationContentsFile name
HiRDB/Single ServerHiRDB/Parallel Server
System definitionsSystem common definitionpdsyspdsys
Unit control information definitionpdutsyspdutsys1, pdutsys2
Server common definition[Figure]pdsvrc
Single server definitionsds01[Figure]
Front-end server definition[Figure]fes1
Back-end server definition[Figure]bes1, bes2
Dictionary server definition[Figure]dic1
Allocation/ initialization of HiRDB file system areasShell for allocating RDAREAsfmkfilefmkfile
Shell for allocating system log, synchronization point dump, and status filessysfmkfssysfmkfs1, sysfmkfs2
Shell for initializing system log, synchronization point dump, and status filessysfinitsysfint
Log unloadingShell for unloading system log fileslogunldfeslogunld, bes1logunld, bes2logunld, diclogunld
Database initialization utilityShell for creating control statementsmkinitmkinit
Database initialization utility control statementsrdinit01*rdinit01*
Execution of operation commands under aliasesSample of shell script for executing operation commands under aliasesBourne shellaliascmdbshaliascmdbsh
C shellaliascmdcshaliascmdcsh
Legend:
[Figure]: Not applicable
* Can be generated by executing the control statement creation shell for the database initialization utility (mkinit).

(3) Sample UOC files

The UOC shown below is provided. Table 24-3 shows the contents of the sample UOC.

For details about UOCs, see the manual HiRDB Version 8 Command Reference.

Table 24-3 Contents of sample UOC

File nameContents
sample1.cExample of UOC for entering DAT-format input files by the database load utility
sample2.cExample of UOC for entering binary-format input files
sample4.cFunctions used by sample2.c
sampleA.cExample of UOC that prevents output of unneeded data to an unload file
sampleB.cExample of UOC that outputs a UOC data file