I usually do the MERGECAT first and then define the alias.  I believe the ALIAS 
DEFINE will fail if there are entries in the MCAT that match it...  


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of esmie moo
Sent: Friday, September 22, 2017 11:16 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: MERGECAT QUESTION

Gentle Readers,
We have about hundreds of user dsns which are cataloged in the MCAT because the 
alias for the users were not defined.My question is the sequence I should 
follow. For example do I define the ALIAS and then perform the MERGECAT? or I 
perform the MERGECAT and then define the ALIAS?I don't have a test system in 
which I can try it out.
Below is my jcl to run the MERGECAT:/*                                          
         //STEP1    EXEC PGM=IDCAMS,REGION=2048K,TIME=1440    //DD1      DD   
VOL=SER=MCAT03,UNIT=SYSALLDA,DISP=OLD//         DD   
VOL=SER=TST001,UNIT=SYSALLDA,DISP=OLD//SYSPRINT DD   SYSOUT=*                   
          //SYSIN    DD   *                                          REPRO -    
                                               INDATASET(TSUT3.MCAT)   -        
                    OUTDATASET(USERCAT.APPLIC) -                         
LEVEL(CTPRT17) -                                     MERGECAT -                 
                          FILE(DD1)                                 /*          
                                         //                                     
              Thanks.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN



This email transmission and any accompanying attachments may contain CSX 
privileged and confidential information intended only for the use of the 
intended addressee. Any dissemination, distribution, copying or action taken in 
reliance on the contents of this email by anyone other than the intended 
recipient is strictly prohibited. If you have received this email in error 
please immediately delete it and notify sender at the above CSX email address. 
Sender and CSX accept no liability for any damage caused directly or indirectly 
by receipt of this email.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to