pdlogchg (Change status of log file)
Function
The pdlogchg command forcibly places a specified file group in unload completed status, extraction by HiRDB Datareplicator completed status, or overwriting permitted status for online reorganization. The status of the current file group cannot be changed.
Executor
HiRDB administrator
Format
pdlogchg {-d sys [-s server-name] -g file-group-name [{-R|-G}]
|-z log-point-information-filename}
pdlogchg {-d sys -s server-name [-u unit-identifier] -g file-group-name [{-R|-G}]
|-z log-point-information-filename [-x host-name]}
Options
Specifies that the status of a system log file is to be changed.
Specifies the name of the server corresponding to the file group.
When the standby-less system switchover (effects distributed) facility is used, specifies the unit identifier of the host that contains the disk on which the system log file whose status is to be changed was created.
When the applicable server and system manager are running, the -u option is ignored, if specified.
Specifying the -u option results in an error if any of the following is true:
The following table describes whether or not the -u option is required:
Server status | Host containing the disk where file is created | Specification of -u option |
---|---|---|
Active | Host containing the running back-end server | Optional |
Inactive | Host containing the primary back-end server | |
Other host | Mandatory |
Specifies the name of the file group whose status is to be changed.
Specifies that the status change is to be applied only to file groups older than the log point recorded in the specified log point information file.
One of the following files must be specified as the log point information file:
The log point information file must be specified in terms of an absolute path name beginning with / (root directory).
Specifies the name of the host of the server to which the log file group whose status is to be changed belongs.
When this option is omitted, the host where the command is entered is assumed.
Specifies that a file group is to be forcibly changed from extracting status to extraction completed status when HiRDB Datareplicator linkage is being executed. When this option is specified, only the extraction status is changed from extracting to extraction completed.
Specifies that when updatable online reorganization is underway, a file group in overwriting denied status for online reorganization is to be placed forcibly in overwriting permitted status for online reorganization.
Rules
Notes