Copies
- Last UpdatedMar 18, 2022
- 1 minute read
A copy of a Database (DB) can be made by using the RCFCOPY command. For example the following command: will create a copy of the existing DB PIPEA/PIPEA in the new DB ADMIN/TEST.
RCFCOPY PIPEA/PIPEA ADMIN/TEST
The key features of copies are:
-
All copies of DBs have the same DB Number. This may be seen by using the LIST FILES command. For example:
MASTER/DES DESI NUMBER 14 FILE NAME /%DRA000%/dra013 UPDATE
PIPEA/PIPEA DESI NUMBER 2 FILE NAME /%DRA000%/dra001 UPDATE
ADMIN/TEST DESI NUMBER 2 FILE NAME /%DRA000%/dra003 UPDATE
USER/DRAFT PADD NUMBER 5 FILE NAME /%DRA000%/dra004 UPDATE
-
There is no implied direction of copying. Thus, in the previous example, PIPEA/PIPEA and ADMIN/TEST are each a copy of the other.
-
The contents of all copies are identical with respect to both data and structure.
-
Any given element has the same reference number in each copy.
-
A DB may have any number of copies, but copies may not exist in the same MDB.