HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
hdefcopy (copy the current source file)
- Function
If a file duplexing error occurs in the source system, disabling one of the physical files (which is placed on HOLD status), the hdefcopy command copies from the normal file into the erroneous file.
This processing restores the erroneous file to usable status (ACTIVE status).
- Format
hdefcopy -f source-physical-file-name -t target-physical-file-name
- Options
- -f source-physical-file-name
- Specify the absolute path name of the source (normal) physical file.
- -t target-physical-file-name
- Specify the absolute path name of the target (erroneous) physical file.
- Rules
- Execute the command for copying the current file at the node that contains the file that is to be restored.
- The current file copy command is executable when Datareplicator is inactive. To restore the data linkage file, HiRDB must also be inactive.
- A command error occurs if the source or target physical file name is not defined correctly in the duplexing definition.
- A command error occurs if the status of the source physical file is not Active.#
- A command error occurs if the status of the target physical file is not Hold.#
- If the file to be copied is a large file, the command might take a long time to execute. For details, see 6.11.2 Estimating the command execution time when large files are used.
- #
- Use the hdefstate command to check the status of the physical file. For details, see the hdefstate command (display the status of duplexed source files).
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.