"Edward E. Jaffe" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Restoring a system from DSS logical dump using the following:
>
> RESTORE DS(INCLUDE(**)) INDD(INDD1) OUTDYNAM(xxxxxx) -
>         BYPASSACS(**) RECATALOG(other.systems.mcat.name) -
>         NMC NSC IMPORT TOLERATE(ENQFAILURE) REPLACE
>
> The new system's catalog is connected to the driving system's catalog.
> RESTORE fails for the VSAM data sets as follows:
>
> ADR485E (ttt)-mmmmm(yy), CATALOG catalog_name IS NOT IN
>        STEPCAT/JOBCAT/MASTERCAT STRUCTURE. DATA SET dsname WILL NOT BE
>        PROCESSED
>
> Explanation:  The NONSMS cluster named in the message required DFSMSdss
to
> use IDCAMS or VSAM I/O to perform the COPY or RESTORE. This requires that
> both the source and target cluster (allocated by DFSMSdss) be accessible
> via the catalog structure.

>
> I need to find an alternative to JOBCAT/STEPCAT for this RESTORE. Any
ideas?

The answer is to use a concept of System Specific Aliases, like Serverpac
does.

Create an alias in your current master catalog that points to the target
catalog (lets call is ABC).  Instead of RECATALOG in the DSS job, use
RENAME(ABC.**).  This will create the data sets on the target catalog as
ABC data sets.

After that is complete, you can use the IDCAMS ALTER, which allows some
generic processing in the name to rename them.  For example,

ALTER     ABC.*       NEWNAME(SYS1.*)

You may have to use a few ALTER commands to get them renamed, but with the
use of the generic "*" this should not be too difficult.  The entry name
(and newname) can only contain a single asterisk, so consult the IDCAMS
manual under ALTER and check the link for "entryname" to see how it can be
specified.

The problem is that the data set must be allocated and opened, and unless
the name can be found by going through the standard search order Allocation
won't work, and OPEN won't work.

See the DSS manual for more information on the renaming capabilities and
your options.

Thanks,
Mark Thomen
Catalog/IDCAMS/VSAM Development
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to