I agree the aliases do Point to Master catalog. Here I do not use IDCAMS
but I use CA CREW for catalog Resize. So for other system I have to perform
a Redefine of aliases and Yes in our plex we have master catalog defined
for each system and Usercatalogs are shared across the system. So for
defining an alias I must be generating a IDCAMS control card using where I
mention like :

DEF ALIAS(NAME('ALIASNAME') REL('USERCATALOG) , so if I run this JCL on
each system then the mastercatalog parameter is not required.

So Just looking for a rexx exec which can extract the list from a PS
file(where only alias name is present) and prepare a control card for
IDCAMS.


On Tue, Oct 8, 2013 at 6:33 PM, Hervey Martinez <
[email protected]> wrote:

> Jake,
>
> The alias' are in the master catalog not in the user catalog. If you have
> multiple master catalogs, then the user cat needs to be detached from the
> other masters before you do the resize and after the re-org; then, it has
> to be re-connected back to those same masters.
>
> Regards,
>
> Hervey
>
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Jake anderson
> Sent: Tuesday, October 08, 2013 8:57 AM
> To: [email protected]
> Subject: Catalog Rebuild JCL
>
> Hello,
>
> I am in the process of re-sizing a user catalog and I see there are almost
> 2000+ aliases defined to it. This is for one of our plex where we have 4
> systems and I understand during restore the aliases will be too restored
> on the system where I am running the JCL(for catalog resize). For other
> System I have to prepare a define alias JCL for 2000+ aliases.
>
> I am looking for some REXX which can help me in extracting the aliases and
> prepare  control card to re-define the same aliases pointing to the
> Usercatalog.
>
> Could someone point me to some sample Rexx which can help me ?
>
> Jake
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send email
> to [email protected] with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to