Hello Willie,

The delete/define can take place before or after.  The latter is
recommended just in case the repro/mergcat has issues.  Its best to make
sure the datasets associated with the lever are not in use at the time.
It would be even better to lock the catalog before and unlock when the
mergcat completes.  Locking the catalog will prevent access to the
catalog while you are performing maintenance.  Before locking the
catalog it is best to make sure little to no access is anticipated
against the catalog.

The following products have features which making a repro/mergcat
operation go smoothly.  Some even have restart/backout capabilities.
MainStar's Catalog Recovery Plus (CR+)
Dino-Software's T-REX
EMC Softwork's Catalog Solutions


Terry Traylor 
charlesSCHWAB 
TIS Mainframe Storage Management 
Remedy Queue: tis-hs-mstg
(602) 977-5154 
WARNING:  All email sent to or from this address will be received by the
Charles Schwab corporate e-mail system and is subject to archival and
review by someone other than the recipient.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of willie bunter
Sent: Thursday, June 07, 2007 8:13 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: REPRO MERGECAT

Good Day To all,
   
  I will be performing a catalog clean up.  I will be doing a REPRO
MERGECAT.  My question is will that process delete the alias or do I
need to delete the alias before I redefine it?
   
  Below is my jcl:
  //MERGECAT EXEC PGM=IDCAMS,REGION=4M,TIME=1440,COND=(0,NE)   
//*                                                          
//DD1      DD   VOL=SER=PROX1,UNIT=SYSALLDA,DISP=SHR        
//            DD   VOL=SER=PROX2,UNIT=SYSALLDA,DISP=SHR        
//CATIN    DD   DSN=UCAT.PROM,DISP=SHR                        
//CATOUT   DD   DSN=UCAT.PROD,DISP=SHR                       
//SYSPRINT DD   SYSOUT=*                                     
//SYSIN    DD   *                                            
     REPRO -                                                 
          INFILE(CATIN)  -                                   
          OUTFILE(CATOUT) -                                  
          LEVEL(ZWA6PW) -                                    
          MERGECAT      -                                    
          FILE(DD1)                                          
/*                                                           
//* REDEFINE ALIAS TO POINT TO OUTPUT CATALOG             
//*                                                       
//********************************************************
//*                                                       
//DEFALIAS EXEC PGM=IDCAMS,REGION=4M,TIME=1440,COND=(0,NE)
//*                                                       
//SYSPRINT DD   SYSOUT=*                                  
//SYSIN    DD   *                                         
 DEL ZWA6PW ALIAS                                         
 DEF ALIAS(NAME(ZWA6PW) RELATE(UCAT.PROD))                
/*                                                        

  Thanks in advance.

 
---------------------------------
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo!
Games.

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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