10.5 Deleting a HiRDB file system area

Executor: HiRDB administrator
Organization of this section
(1) Deleting a HiRDB file constituting an RDAREA
(2) Deleting a system file

(1) Deleting a HiRDB file constituting an RDAREA

The database structure modification utility (pdmod command) is used to delete a HiRDB file or to change the size of a HiRDB file that is a constituent of an RDAREA.

There is no need to terminate HiRDB to re-create a HiRDB file deleted by the database structure modification utility.

Notes
  • The pdfrm command must be used with caution because it deletes forcibly any specified HiRDB file regardless of the RDAREA structure.
  • The pdfrm command cannot be used during HiRDB operation to delete a HiRDB file in a HiRDB file system area that is in use by HiRDB. The pdfrm command should be used only after HiRDB has been terminated.

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.

(2) Deleting a system file

The operation commands listed in Table 10-3 are used to delete system files.

Table 10-3 Commands used to delete system files

CommandType of system file
pdlogrm -d sysSystem log file
pdlogrm -d spdSynchronization point dump file
pdstsrmStatus file
Notes
  • If a system file cannot be deleted with the applicable command shown in Table 10-3, the reason for the deletion failure should be determined. If it is safe to delete the file, the pdfrm command can be used.
  • A deleted HiRDB file can be re-created with an operation command without having to terminate HiRDB.

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.