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)
hdsfcopy (copy the current target file)
- Function
If a file duplexing error occurs in the target system, disabling one of the physical files (which is placed on HOLD status), the hdsfcopy command copies from the normal file into the erroneous file.
This processing restores the erroneous file to usable status (ACTIVE status).
- Format
hdsfcopy -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.
- 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#.
- #
- To check the status of the physical files, use the duplexed target files status display command (hdsfstate). For details, see the hdsfstate command.
- If a 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.
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.