Create the control statement file that is to be specified in the database initialization utility's (pdinit) argument. You can create the control statement file at any location. This example creates a file under the following filename:
- Contents of the control statement file
create rdarea RDMAST for masterdirectory 1
file name "/rdarea01/rdmast01"
initial 10 segments;
create rdarea RDDIR for datadirectory 2
file name "/rdarea01/rddir01"
initial 5 segments;
create rdarea RDDIC for datadictionary 3
extension use 50 segments
file name "/rdarea01/rddic01"
initial 20 segments; |
- Explanation:
- Definition of the master directory RDAREAs
This example creates a HiRDB file named rdmast01 in the HiRDB file system area. This HiRDB file has 10 segments.
- Definition of data directory RDAREAs
This example creates a HiRDB file named rddir01 in the HiRDB file system area. This HiRDB file has five segments.
- Definition of the data dictionary RDAREAs
This example creates a HiRDB file named rddic01 in the HiRDB file system area. This HiRDB file has 20 segments.
The example uses the automatic RDAREA extension feature. The extension size is 50 segments.