Export Disconnect of a User Catalog from Another User Catalog: Example 1

The following example shows the EXPORT command being used to disconnect a user 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 for RBLUCAT2 from user catalog RBLUCAT1. The parameters are:
  • RBLUCAT2 identifies the object to be disconnected.
  • DISCONNECT identifies the object as a user catalog.
  • CATALOG names the user catalog (RBLUCAT1) containing the connector entry being disconnected.