15.2.3 Steps to take when the adbimport or adbidxrebuild command cannot be re-executed
If an interrupted adbimport or adbidxrebuild command cannot be re-executed, the command might no longer be able to access one of the files listed below. If this is the case, the indicated message is output to the message log file.
-
Command status file
The KFAA50244-E message is output.
-
Temporary work file
The KFAA50247-E message is output.
If a message other than KFAA50244-E or KFAA50247-E is output, you can determine the cause of the error based on that message.
The corrective action depends on the message that is output. The following subsections explain the corrective action to take in response to each message.
- Organization of this subsection
(1) When the KFAA50244-E message is output (the command status file cannot be accessed)
Execute the adbidxrebuild command with the --force option specified.
If the adbimport command to which background import was being applied (with the -b option specified) has been interrupted and then the adbidxrebuild command with the --force option specified is executed, storage information for the table data that was being processed by the adbimport command is deleted. If this happens, the interrupted adbimport command returns to unexecuted status. In such a case, re-execute the interrupted adbimport command with the -b option specified after you have executed the adbidxrebuild command.
For details about the corrective action, see the following topics:
-
If an error occurs during re-execution of the adbimport command under Handling abnormal termination of the adbimport command in adbimport (Import Data) in the manual HADB Command Reference
-
If an error occurs during re-execution of the adbidxrebuild command under Handling abnormal termination of the adbidxrebuild command in adbidxrebuild (Rebuild Indexes) in the manual HADB Command Reference
(2) When the KFAA50247-E message is output (temporary work files cannot be accessed)
Execute the adbidxrebuild command with the --create-temp-file option specified.
If the adbimport command to which background import was being applied (with the -b option specified) has been interrupted, you can complete the interrupted adbimport command's execution by executing the adbidxrebuild command with the --create-temp-file option specified.
For details about the corrective action, see the following topics:
-
If an error occurs during re-execution of the adbimport command under Handling abnormal termination of the adbimport command in adbimport (Import Data) in the manual HADB Command Reference
-
If an error occurs during re-execution of the adbidxrebuild command under Handling abnormal termination of the adbidxrebuild command in adbidxrebuild (Rebuild Indexes) in the manual HADB Command Reference
(3) When a message other than KFAA50244-E or KFAA50247-E is output
Re-execute the interrupted command according to the corrective action shown in the output message.