09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

EXPORT DISCONNECTEXPORT DISCONNECT ExamplesThe EXPORT DISCONNECT command can per<strong>for</strong>m the functions shown in thefollowing examples.Export Disconnect of a User Catalog from Another UserCatalog: Example 1The following example shows the EXPORT command being used to disconnect auser catalog from another user catalog.//EXPDISC JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *EXPORT -RBLUCAT2 -DISCONNECT -CATALOG(RBLUCAT1)/*The EXPORT command removes the user catalog connector entry <strong>for</strong> RBLUCAT2from user catalog RBLUCAT1. The parameters are:vvvRBLUCAT2 identifies the object to be disconnected.DISCONNECT identifies the object as a user catalog.CATALOG names the user catalog (RBLUCAT1) containing the connector entrybeing disconnected.Export Disconnect of a User Catalog: Example 2In this example, the user catalog 387UCAT1 is disconnected from the system. Itscataloged objects are no longer available to users of the system.//EXPORT3 JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *EXPORT -G87UCAT -DISCONNECT/*The EXPORT command removes the user catalog connector entry <strong>for</strong> G87UCATfrom the master catalog. The catalog becomes unavailable to system users until thesystem programmer reconnects it to the system, using an IMPORT CONNECTcommand. The parameters are:vvG87UCAT identifies the object to be disconnected.DISCONNECT identifies the object as a user catalog. When a user catalog’sconnector entry is to be deleted, DISCONNECT is required.258 z/<strong>OS</strong> <strong>V1R6.0</strong> <strong>DFSMS</strong> <strong>Access</strong> <strong>Method</strong> <strong>Services</strong> <strong>for</strong> <strong>Catalogs</strong>

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

Saved successfully!

Ooh no, something went wrong!