This example adds a user RDAREA (RDAREA1) to which the automatic extension facility is applied.
pdfmkfs -n 100 -l 10 -e 230 -k DB -i /rdarea/area01 |
A control statements file (/pdmod/create01) is created for the create rdarea statement of the pdmod command. The following are the contents of the control statements file:
create rdarea RDAREA1 1 |
pdmod -a /pdmod/create01 |
pdcopy -m /rdarea/mast/mast01 -M r -a -b /pdcopy/backup01 -p /pdcopy/list01 |
This step adds a new global buffer (gbuf01) and allocates it for RDAREA1.
pdbufmod -k add -a gbuf01 -r RDAREA1 -n 1000 |
Note, however, that both the following conditions must be satisfied in order to use the pdbufmod command:
The global buffer allocated in this procedure becomes invalid if HiRDB is terminated normally or through a planned termination. Therefore, change the pdbuffer operand specification while HiRDB is stopped. An example of the pdbuffer operand specification follows:
: |
You can use the system reconfiguration command (pdchgconf command) to change the pdbuffer operand specification while HiRDB is running. Note that HiRDB Advanced High Availability must be installed in order to use the system reconfiguration command. For details about changing HiRDB system definitions using the system reconfiguration command, see 9.2 Modifying HiRDB system definitions while HiRDB is running (system reconfiguration command).
It is recommended that after the command has executed you check whether or not the execution results are correct. For details on how to check command execution results, see the manual HiRDB Version 8 Command Reference.