The ACFDBRST utility restores CA ACF2 for z/VM database information from sequential backups into new CMS format databases or VSAM databases.
The following terminology is used throughout this section.
One of the three CA ACF2 for z/VM databases (Logonid, Rules, or Infostorage).
The CA ACF2 for z/VM Infostorage database.
The CA ACF2 for z/VM Logonid database.
The CA ACF2 for z/VM Rule database.
Before you restore into CMS databases, you must reserve minidisks through the CMS RESERVE command. The syntax is:
RESERVE fn DATABASE fm
The filename of the minidisk to reserve.
The filetype (always DATABASE).
The filemode of the minidisk to reserve.
If you are restoring into VSAM databases, you just delete and define the VSAM clusters using IDCAMS. ACFDBRST rebuilds the databases into the newly‑created clusters.
You might also need to run the ACFLINIT utility before you can restore the VSAM databases. See ACFLINIT ‑ Initializing VSAM Databases later in this chapter for information.
The syntax to define the input backup files is:
FILEDEF ddname DISK fn BACKUPDB fm
The ddname of the CMS file where the backup data resides. Valid options are BKPLID, BKPRULES, or BKPINFO.
The filedef of a disk file (always DISK).
The filename of the backup file to restore.
The filetype of the backup file (must be BACKUPDB).
The filemode of the minidisk containing the backup file to restore.
To define the new output files, use the following syntax:
For CMS Databases
The syntax for FILEDEFs for CMS databases is:
FILEDEF ddname DISK fn DATABASE fm
The ddname of the database to restore into. Valid options are LID, RULES, or INFO.
The filedef of a disk file (always DISK).
The filename of the database to restore to.
The filetype of the database to restore to (must be DATABASE).
The filemode of the database to restore to.
You must have reserved this minidisk (fn DATABASE fm) through the CMS RESERVE command before you can run the utility.
For VSAM Databases
Enter the following command to create a DLBL for the VSAM catalog:
DLBL IJSYSCT fm DSN catname (VSAM
You must define this file.
The filemode of the disk the catalog is on.
The DSN of the catalog.
Enter the following command to specify a DLBL for each restored VSAM file:
DLBL ddname fm DSN dsn (VSAM
The ddname of the VSAM database to restore into. Valid options are LID, RULES, or INFO.
The filemode of the disk the VSAM database is on.
The actual IDCAMS‑defined VSAM data set name to restore.
You can use this utility to restore all three, or any combination of, CA ACF2 for z/VM databases. The syntax for running this utility is:
{ [ LID ]}
ACFDBRST { ALL | [ RULES ]}
{ [ INFO ]}
Indicates you want to restore all three CA ACF2 for z/VM databases (Logonid, Rule, and Infostorage).
Indicates you want to restore the Logonid database.
Indicates you want to restore the Rule database.
Indicates you want to restore the Infostorage database.
CA ACF2 for z/VM displays the following message when the utility has successfully executed:
ACFRST361I <nn db> records processed
The number of records processed.
The type of records processed.
A sample of the ACFDBRST utility (ACFREST SAMPEXEC) is provided with this release of CA ACF2 for z/VM Security for VM. To use the sample exec, edit it and make appropriate modifications to the FILEDEF statements.
|
Copyright © 2009 CA Technologies.
All rights reserved.
|
|