Nonstop Database, HiRDB Version 9 System Operation Guide
This section explains how to use the facility for taking a unit down when a file access error is detected. Here, a file access error means an error that occurs when HiRDB fails to manipulate a file because it does not have access privileges, and -1540 is returned as the error code in response to a request to access the HiRDB file system. For details, see HiRDB File System Error Codes in the manual HiRDB Version 9 Messages.
If access privileges for the HiRDB file system area for an RDAREA are incorrectly set, HiRDB detects a file access error for the RDAREA and causes an error shutdown for that RDAREA. If you use the facility for taking a unit down when a file access error is detected, you can take the unit down without shutting down the RDAREA when a file access error for the RDAREA is detected (in the case of a master directory RDAREA, however, the unit can go down without shutting down the RDAREA when a file access error is detected even if the facility for taking a unit down when a file access error is detected is not being used). This means that you can remove the cause of the file access error before restarting HiRDB, thereby avoiding the recovery task that would have been required had an error shutdown occurred in the RDAREA.
If a file access error is detected and the unit does go down while a UAP or utility is being executed in one of the operating modes described below, the processing target RDAREA might be shut down:
When using the facility for taking a unit down when a file access error is detected, avoid these operating modes if at all possible. If one of these operating modes is necessary, acquire a backup before executing a UAP or utility so that you can restore the system to the most recent status even if an error shutdown occurs for the RDAREA.
To use this facility, specify the system common definition (pdsys) as described below.
If a unit goes down when the facility for taking a unit down when a file access error is detected is being used, the HiRDB administration must take action according to the procedure described in the following figure.
Figure 10-1 Action to be taken when a file access error occurs
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.