As has been pointed out, an alias definition lives in the *master* 
catalog(s), not in the user catalog itself. An alias in an external 
pointer that tells the (current) system how find the catalog containing 
the actual data set entry. When a user catalog is EXPORTed and then 
IMPORTed, any master catalog containing an alias is not affected at all. 
As long as the user catalog ends up on the original volume, alias 
processing will work exactly as before. 

OTOH do not move the user catalog to a different volume. You would then 
have to disconnect the user catalog from each master, at which point you 
would lose all alias definitions and have to redefine them after 
reconnecting. That would be an arduous effort. 

.
.
JO.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
626-302-7535 Office
323-715-0595 Mobile
[email protected]



From:   Jake anderson <[email protected]>
To:     [email protected], 
Date:   10/08/2013 07:50 AM
Subject:        Re: Catalog Rebuild JCL
Sent by:        IBM Mainframe Discussion List <[email protected]>



Hello Lizette,

This is for the system from where we perform the catalog resize. So for
other systems how do we get the aliases pointing to their Master catalog ?


On Tue, Oct 8, 2013 at 7:05 PM, Lizette Koehler 
<[email protected]>wrote:

> Reposting without the FILE: added
>
>
>
> Question:  Looking for example of a restore on a catalog and its 
aliases?
>
> Answer:
>
> Here is an example of a restore for one catalog and its aliases:
> //RESTORE JOB
> //STEP EXEC PGM=CREWS
> //SYSPRINT DD SYSOUT=A
> //RESTORE DD DSN=BACKUP.CATALOGS(-1),DISP=OLD
> //SYSIN DD *
> RESTORE
> ALIAS
> CAT(CATALOG.MVSICF1.VSYSC06)
>
>
> Sorry for the File Insert.  Do not know where that came from
>
> Lizette
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Lizette Koehler
> Sent: Tuesday, October 08, 2013 6:33 AM
> To: [email protected]
> Subject: Re: Catalog Rebuild JCL
>
> Jake,
>
> Have you contacted CA Support for CREWS.  Any product I have seen that 
does
> CATALOG has support for your functions.  That includes TREX and Catalog
> Recovery Plus
>
> So, a quick search on the CA Website provided
>
>
> Question:  Looking for example of a restore on a catalog and its 
aliases?
>
> Answer:
>
> Here is an example of a restore for one catalog and its aliases:
> file://RESTORE JOB
> file://STEP EXEC PGM=CREWS
> file://SYSPRINT DD SYSOUT=A
> file://RESTORE DD DSN=BACKUP.CATALOGS(-1),DISP=OLD file://SYSIN DD *
> RESTORE
> ALIAS
> CAT(CATALOG.MVSICF1.VSYSC06)
>
>
> Lizette
>
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Jake anderson
> Sent: Tuesday, October 08, 2013 6:25 AM
> To: [email protected]
> Subject: Re: Catalog Rebuild JCL
>
> 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
> > 2000+ 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

Reply via email to