Previous Topic: ACF2COPY - Relocating VM FilesNext Topic: ACFSMCOP - Copying SMF Disks


ACFDBCPY - Copying Databases

This utility copies CMS format CA ACF2 for z/VM databases from one minidisk to another. This utility is provided because you cannot use CMS COPYFILE to copy a file to a reserved disk.

Terminology

The following terminology is used throughout this chapter.

Database

One of the three CA ACF2 for z/VM databases (LID, RULE, INFO).

INFO

The CA ACF2 for z/VM Infostorage database.

LID

The CA ACF2 for z/VM Logonid database.

RULE

The CA ACF2 for z/VM Rule database.

Prerequisites

The ACFDBCPY utility copies CMS format CA ACF2 for z/VM databases from one minidisk to another. You must reserve the target minidisk through the CMS RESERVE command and format it in 4 KB blocks. The syntax of the RESERVE command is:

RESERVE nfn DATABASE nfm
nfn

The filename of the minidisk to reserve.

DATABASE

The filetype (always DATABASE).

nfm

The filemode of the minidisk to reserve for the database.

Run this utility with the system in NOAUTO mode (CA ACF2 for z/VM is not active) to expand a database or during database recovery. You must have read and write access to the source (input) and target (output) databases.

Running ACFDBCPY

You can copy any of the three CA ACF2 for z/VM databases, but you must copy them one at a time. The syntax of this utility is:


ACFDBCPY fn DATABASE fm   { nfm } { DATABASE } { nfm }
                          {  =  } {    =     } {  =  }
fn

The filename of the database to copy.

DATABASE

The filetype of the database (always DATABASE).

fm

The filemode of the minidisk to copy.

nfn

The new filename of the copied database.

DATABASE

The filetype of the copied database (always DATABASE).

nfm

The filemode of the copied minidisk.

You can use the equal sign to indicate you want to use the same value for the same field as in this example, ACFDBCPY LID DATABASE D = = B. This command copies LID DATABASE D to LID DATABASE B. The first equal sign represents the same value as the first filename (LID) entered. The second equal sign represents the same value as the first filetype (DATABASE) entered.

ACFDBCPY issues the following message when it has successfully executed:

ACFCPY361I <nn> <db> records processed
nn

The number of records processed.

db

The type of records processed.