11.01.2013 Views

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6.18 Splitting a catalog<br />

UCAT1<br />

Figure 6-31 Splitting a catalog<br />

REPRO MERGECAT<br />

UCAT2<br />

UCAT3<br />

Splitting catalogs<br />

You can split a catalog to create two catalogs or to move a group <strong>of</strong> catalog entries if you<br />

determine that a catalog is either unacceptably large or that it contains too many entries for<br />

critical data sets.<br />

If the catalog is unacceptably large (that is, a catalog failure leaving too many entries<br />

inaccessible), then you can split the catalog into two catalogs. If the catalog is <strong>of</strong> an<br />

acceptable size but contains entries for too many critical data sets, then you can simply move<br />

entries from one catalog to another.<br />

To split a catalog or move a group <strong>of</strong> entries, use the access method services REPRO MERGECAT<br />

command. Use the following steps to split a catalog or to move a group <strong>of</strong> entries:<br />

1. Use ALTER LOCK to lock the catalog. If you are moving entries to an existing catalog, lock it<br />

as well.<br />

2. If you are splitting a catalog, define a new catalog with DEFINE USERCATALOG LOCK (see also<br />

“Defining a catalog and its aliases” on page 339).<br />

3. Use LISTCAT to obtain a listing <strong>of</strong> the catalog aliases you are moving to the new catalog.<br />

Use the OUTFILE parameter to define a data set to contain the output listing (see also<br />

“Merging catalogs” on page 361).<br />

4. Use EXAMINE and DIAGN<strong>OS</strong>E to ensure that the catalogs are error-free. Fix any errors<br />

indicated (see also “Checking the integrity on an ICF structure” on page 357).<br />

Chapter 6. Catalogs 363

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!