If the database is lost or damaged, and all attempts to recover it have failed, it can be recovered using the DR tape as follows:
Note: For more information about SARDBASE, see chapter "Database Utilities." Sample JCL for this function can be found in CVDEJCL member BRMADDS.
Note: For more information about SARTCP, see the chapter "Database Utilities."
The tape map displays the INDEX file as the last file on the tape. The file number of the INDEX is specified as the file number on the SARTAPE DD in next step. Sample JCL for this function can be found in CVDEJCL member HBRMTCPM.
The SARDBASE RESTORE JCL must leave out the SARRECV DD statement and use a SARTAPE DD statement to specify the DR tape DSN and INDEX file number. This information was obtained in the previous step. Sample JCL for this function can be found in CVDEJCL member HBRMREST.
Use the SARRCOV utility to create a recovery file that contains the DSN of the DR tape and the file number of the index. This information was obtained in the previous step.
Note: For more information about SARRCOV, see the chapter "Database Utilities." Sample JCL for this function can be found in CVDEJCL member HAEXRCOV
The SARDBASE RESTORE JCL must leave out the SARTAPE DD statement and use a SARRECV DD statement to specify the name of the recovery data set. Sample JCL for this function can be found in CVDEJCL member HBRMREST.
Note: Perform the RESTORE operation against the newly created, empty database. It is not necessary to reinstate any initialization parameters because these parameters are recovered during the restore process.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|