Previous Topic: Example 6—Restore a VSAM Cluster and Change Control IntervalNext Topic: Example 8—Process Queued Requests


Example 7—Restore a Base Cluster to a New Name and Password

Restore a base cluster that was archived with a master password of ORIGMSTR. Change the base cluster name and assign a new master password of NEWMSTR. Restore its alternate index with a new name also. Also change the data and index component names for the alternate index.

RESTORE DSN=DMS.TJP.BASE.CLUSTER,
PASSWORD=ORIGMSTR,                           needed to read archive tape
NEW=DMS.TJPNEW.BASE.CLUSTER,             new base name
MASTERPW=NEWMSTR,                        new master password for base
NOAIXDEF                                 don't define the alternate index
RESTORE DSN=DMS.TJP.BASE.CLUSTER,
PASSWORD=ORIGMSTR,                           needed to read archive tape
RELATE=DMS.TJPNEW.BASE.CLUSTER,          new base name
RELPSWD=NEWMSTR,                         new master password for base
AIXNAME=DMS.TJP.AIX.NAME1,               AIX's original name
NEW=DMS.TJPNEW.AIX.NAME1,                new AIX name
DNAME=$.DATA,                            new data component name
INAME=$.INX                              new index component name