pdstscls (Close open status file)
Function
The pdstscls command closes an open status file. This command is applicable only to status files defined in the HiRDB system definition and can be executed only while HiRDB is active; it cannot close the current file.
Executor
HiRDB administrator
Format
pdstscls [{-x host-name|-u unit-identifier}]
{-n logical-filename|-f physical-filename}
pdstscls -s server-name
{-n logical-filename|-f physical-filename}
pdstscls {-x host-name|-u unit-identifier}
{-n logical-filename|-f physical-filename}
pdstscls -s server-name
{-n logical-filename|-f physical-filename}
Options
When a unit status file is to be closed, specifies the identifier of the unit or the name of the host corresponding to the unit status file. In the case of a HiRDB/Single Server, this option can be omitted because the host and unit are fixed.
When a server status file is to be closed, specifies the name of the server corresponding to the server status file.
When a status file corresponding to a specific logical file is to be closed, specifies the name of the logical file. Both versions (A and B) of the specified logical file will be closed at the same time. However, to close both files (A and B), one of the following must apply:
When the status file corresponding to a specific physical file is to be closed, specifies the absolute path name of the physical file. A physical file name must be specified in the format HiRDB-file-system-area-name/HiRDB-filename. This option is used in the event of an error in order to close the file version in STANDBY status, not the file version in shutdown status.
Rules
Note