4.4.3 Creating status files

The HiRDB administrator uses the pdstsinit command to create status files in a HiRDB file system area. The HiRDB administrator must create status files for both the unit and server.

Example
Create a server status file (b1sts01a) in a HiRDB file system area (C:\sysarea01):

pdstsinit -s b001 -f C:\sysarea01\sts01 -l 4096 -c 256

Explanation:
-s: Specifies the name of the server corresponding to this server status file.
-f: Specifies a name for this server status file.
Enter the name that was specified with the pd_sts_file_name server definition operand in the HiRDB system definitions.
-l: Specifies the record length for this status file.
-c: Specifies the number of records for this status file.
The size of one status file is equal to the record length times the number of records (bytes).

After the command has executed, the execution results should be checked for errors. For details about how to check command execution results, see the manual HiRDB Version 9 Command Reference.

Relationship with HiRDB system definitions
This pdstsinit command is associated with the following operands in the HiRDB system definitions:
  • pd_syssts_file_name (unit status file)
  • pd_sts_file_name (server status file)
You need to define the status file created using these operands.