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 USER01 for user used by PUBLIC 1
server name b001
extension use 50 segments
file name "/rdarea02/user01"
initial 500 segments;
create rdarea USER02 for user used by PUBLIC 2
server name b001
extension use 50 segments
file name "/rdarea02/user02"
initial 500 segments; |
- Explanation:
- Definition of the user RDAREA (USER01)
USER01 is a public RDAREA (PUBLIC). This example specifies the name of the back-end server (b001) that manages USER01. It creates a HiRDB file named user01 in the HiRDB file system area. This HiRDB file has 500 segments. The example uses the RDAREA automatic extension feature. The extension size is 50 segments.
- Definition of the user RDAREA (USER02)
USER02 is a public RDAREA (PUBLIC). This example specifies the name of the back-end server (b001) that manages USER02. It creates a HiRDB file named user02 in the HiRDB file system area. This HiRDB file has 500 segments. The example uses the RDAREA automatic extension feature. The extension size is 50 segments.