The pdstsopen command opens a status file initialized by the pdstsinit command or a status file closed by the pdstscls command. This command is applicable only to status files defined in the HiRDB system definition and can be executed only while HiRDB is active.
HiRDB administrator
pdstsopen [-x host-name|-u unit-identifier}] |
pdstsopen -s server-name |
pdstsopen {-x host-name|-u unit-identifier} |
pdstsopen -s server-name |
When a unit status file is to be opened, specifies the identifier of the unit or the name of the host corresponding to the unit status file. For a HiRDB single server configuration, this option can be omitted because the host and unit are fixed.
When a server status file is to be opened, 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 opened, specifies the name of the logical file. Both versions (A and B) of the specified logical file will be opened at the same time. However, to open both files (A and B), one of the following must apply:
When the status file corresponding to a specific physical file is to be opened, specifies the absolute pathname of the physical file. A physical filename must be specified in the format HiRDB-file-system-area-name/HiRDB-file-name. This option is specified to open a status file that has been placed in shutdown status due to an error or a physical file initialized by the pdstsinit in order to extend its capacity.
When you execute the command at the log application site, the specified physical file cannot belong to a status file. When you execute the command at the transaction execution site, the specified physical file name cannot belong to a status file for log application processing.