4.10.3 Example 2 (HiRDB/Parallel Server)

This example creates a list RDAREA in the following HiRDB file system area for list RDAREAs:

Organization of this subsection
(1) Creating the control statement file
(2) Executing the database structure modification utility (pdmod)

(1) Creating the control statement file

Create the control statement file that is to be specified in the database structure modification utility's (pdmod) argument. You can create the control statement file at any location. This example creates the file under the following filename:

Contents of the control statement file

create rdarea LIST01 for list                                   1
   server name b001
   page 4096 characters storage control segment 2 pages
   file name "C:\listarea01\list01"
       initial 1000 segments;

Explanation:
  1. Definition of the list RDAREA (LIST01)
    This example specifies the name of the back-end server that manages LIST01 as well as the page length and segment size of the RDAREA. It creates a HiRDB file named list01 in the HiRDB file system area. This HiRDB file has 1,000 segments.

(2) Executing the database structure modification utility (pdmod)

Example of command entry

pdmod -a C:\hirdb\pdmod04

Explanation:
-a: Specifies the name of the control statement file that was previously created in (1).