UNSOLVED

MasterHarp

updated

18 years ago

M

MasterHarp

1 Message

0

479

July 17th, 2008 08:00

Rebuild While Open

I have a catalog that needs to be rebuilt. I am at PTF4 level. I have never used this option/feature before. Hints, Gotchas, etc. appreciated. Samples would also help.
  • Davidy8s

    154 Posts

    209

    0

    Posted July 17th, 2008 12:00

    Greetings MH, welcome to the forum.

    If you haven't already done so, please have a look at the new CSL support page at: https://support.emc.com/products/CatalogSolutions.aspx

    We have a great deal of info there. I will hunt down one of the Catalog Solution folks for the more specific gotchas, hints and tips. However, since you're already at PTF EC90004, - the most current, you're in good shape.

    Best regards,

    Dave Yates
    EMC TSE3
    Benevolent Host S/W & Mainframe Forum Moderator
  • Davidy8s

    154 Posts

    209

    0

    Posted July 17th, 2008 13:00

    I did do some checking for you, before our esteemed CSL types chime in.

    I found a knowledgebase entry emc138377
    If a USER catalog is connected to multiple MASTER catalogs, they must be connected to the MASTER of the system you are running on and they must be specified in the INCMAST= parameters.



    See the Catalog Solution 9.0 documentation entitled 'Catalog Solution 9_0 Documentation Addendum for PTF EC90001.pdf'. This is available through PowerLink.

    This addendum is intended for all users of Catalog Solutions for z/OS, PTF EC90001. It includes updates for the User Guide, the Scenarios Guide, and the Message and Code Guide. It contains a replacement for the REBUILD WHILEOPEN (RWO) chapter in the GA user guide with all the new keywords.

    Run the RWO with the trace keyword. This adds a few lines to the output, but they're very informative and it's useful information whether it's only for historical comparison, benchmark, or troubleshooting.

    Also, don't cancel RWO as a general rule. If you consider what it's doing, and how it's going about doing it, cancelling of an RWO process ought to be discussed with a CSL pro first.

    Dave Yates
    EMC TSE3
    Benevolent Host S/W & Mainframe Forum Moderator
  • Davidy8s

    154 Posts

    209

    0

    Posted July 18th, 2008 15:00

    Here is additional information:

    If all you're trying to do is reorg the catalog without any changes to it, you may want to do a REBUILD WHILEOPEN In Place with the following syntax:

    REBUILD WHILEOPEN,TRACE,
    INCCAT=your.user.catalog,
    BACKUPHLQ=alias,
    BACKUPSPACE=(x,x,CYLS)

    Space allocation should be at least as large as the catalog being reorg.

    If you want to move the catalog or reallocate it with more space, then a REBUILD WHILEOPEN REALLOCATE is the way to go. A syntax sample:
    REBUILD WHILEOPEN,TRACE,
    REALLOC,
    INCCAT=your.user.catalog,
    BACKUPHLQ=alias,
    BACKUPSPACE=(x,x,CYLS)
    NEWCATVOL=volser
    NEWCATSPACE=(x,x,CYLS),
    INCMAST=alternate.master1,
    INCMAST=alternate.master2

    BACKUPSPACE: Space allocation should be at least as large as the catalog being reorg¿d.

    NEWCATSPACE: Space allocation should be at least as large as the catalog being reorg¿d.

    Volser = new volume (if catalog is to be moved)
    INCMAST: specify ALL the master catalogs that the user catalog is connected to

    However, please be aware of IBM APAR OA23588 when using REBUILD WHILEOPEN REALLOCATE.

    Hope this helps

    Dave Yates
    EMC TSE3
    Benevolent Host S/W & Mainframe Forum Moderator