On 2/29/2012 6:43 AM, Martin, Larry D wrote:
You can also use IDCAMS MERGECAT to move the catalog entries and then define 
the ALIAS(s).


Here is a sample to do it.

//MOVCAT   JOB
//*
//PRINT   EXEC PGM=IDCAMS
//*
//SYSPRINT  DD SYSOUT=A
//SYSIN     DD *
 REPRO -
        LEVEL(@ ) -
        INDATASET(CATALOG.MSTCAT) -
        OUTDATASET(CATALOG.USRCAT) -
        MERGECAT
 DEFINE ALIAS(NAME(@ ) -
        RELATE(CATALOG.USRCAT)) -
        CAT(CATALOG.MSTCAT)


--
Richard

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

Reply via email to