Backbutton

Example 112

Example 112 - COPY&CATALOG
    VOLUME DELETE #MYMETACD(PACK,SERIALNO="CD0002");                              
    MYSELF(FAMILY="DISK = " & MYCATALOGFAMILY & " ONLY");                         
    CATALOG PURGE (METASOFT)COPYWRITE/LIBRARY;                                    
    MYSELF(FAMILY=#MYPATH);                                                       
    COPY&CATALOG                                                                  
      (METASOFT)COPYWRITE/LIBRARY                                                 
        FROM #MYMETACD(CD,SERIALNO="CD0002",SAVEFACTOR=365)                       
        TO NULL(CD,HOSTNAME=LOCAL,FAMILYOWNER=#MYCATALOGFAMILY)[T];               
 
Example112
 
  1. The COPY&CATALOG option copies files from a <source volume> and adds backup references into catalogued file entries.
  2. The SERIALNO specified with the <source volume> is used to either find a volume in the Volume Library, or create a volume entry if one does not exist.
  3. The FAMILYOWNER on the <destination volume> specifies the family on which the file entries, which will have their backup entries updated, exist.