Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Import a Catalog: Example 2 z/OS DFSMS Access Method Services Commands SC23-6846-01 |
|
In this example, a catalog, USERCAT4, that was previously exported, is imported. (See the EXPORT example, Export a Catalog: Example 1.) The original copy of USERCAT4 is replaced with the imported copy, from the portable file copy in CATBACK. Access method services finds and deletes the duplicate name, USERCAT4. Any aliases in the master catalog for USERCAT4 are preserved. (A duplicate name exists because the catalog was exported with the TEMPORARY attribute.) Access method services then redefines USERCAT4, using the catalog information from the portable file, CATBACK. USERCAT4 is locked to prevent access to anyone except authorized recovery personnel. Requirement: Before you can lock a catalog, you must have read authority to the profile name, IGG.CATLOCK, with class type FACILITY.
Job control language statement:
The IMPORT command copies the portable data set, CATBACK, into
the system. Access method services reorganizes the data records so
that deleted records are removed and control intervals and control
areas contain the specified free space percentages. The original copy
of the cluster is deleted and replaced with the data records from
the CATBACK portable file. The IMPORT command's parameters are:
|
Copyright IBM Corporation 1990, 2014
|