Add Site or Add Page to Favorites
>

 How To Restore DB2 TableSpaces 

Preview DRM-free music
Play clips of the most popular DRM-Free music in MP3 format
Legal Music .com

Get information on your favorite TV Shows at TV Series .com

Clarify the meaning of the acronyms on your web site.

Acronym Dictionary

Acronym Finder

Social Networking Web Sites

Register your own domain name at A to Z Domains.

or buy domains at Domain Names For Sale .net


Printer-friendly PDF* format:

How To Restore DB2 TableSpaces

This Section

How To Restore DB2 TableSpaces

  1. Determine the approximate date and time of the restore point.
  2. Restore a backup of the BSDS that was taken after the restore point, During the restore, rename the dataset to something different than the current active BSDS.
                                  //USRNAMEA JOB CLASS=A,MSGCLASS=X,NOTIFY=USRNAME
                            
                                  
    //STEP1 EXEC PGM=ADRDSSU,REGION=0M
    //SYSPRINT DD SYSOUT=*
    //TAPE01 DD DSN=BACKUP.DATASET,VOL=SER=(006596),
    // DISP=(OLD,KEEP),UNIT=3590-1,LABEL=(1,SL)
    //DISK01 DD UNIT=SYSDA,DISP=OLD
    //SYSIN DD *
    RESTORE DATASET(INCLUDE(DB2PROD.BSDS01.**)) -
    RENAMEUNCONDITIONAL(USRNAME) -
    INDDNAME(TAPE01) -
    OUTDDNAME(DISK01) -
    CATALOG
    //
  3. Run the LOGMAP utility to get the log RBAs at the checkpoints.
                                  //DEVDRGSA JOB CLASS=A,MSGCLASS=X,NOTIFY=DEVDRGS
                                  
    //LOGMAP EXEC PGM=DSNJU004,REGION=0M
    //SYSUT1 DD DSN=DEVDRGS.BSDS01,DISP=SHR
    //SYSPRINT DD SYSOUT=*
    //
    Select the RBA of the desired restore point. If the checkpoint queue in the report does not span the entire range of time between backups of the BSDS, increase CHKFREQ in DSNZPARMs or back up the BSDS more frequently.
  4. Using the DSN1LOGP utility or a log analzyer, adjust the RBA of the restore point, if necessary, to avoid any units of work in progress.

Last updated Monday April 30, 2007

You are currently viewing this page in HTML 4* format (* see Clicklets for more infomation). This document is also available in XHTML 1 Style Sheet*XHTML 1* XML*HTML 5 Style Sheet*HTML 5 XML*HTML 5 non-XML* XHTML 2* XHTML Mobile* WML Mobile* and printer-friendly PDF* formats. This is accomplished with Single Source Publishing, a content management system that uses templates in XSLT style sheets provided by XML Styles .com to transform the source content for various content delivery channels. There is also RDF* metadata that describes the content of this document.


Copyright © 2006 How To Guides .com. Alteration of content, including addition of any function such as hypertext links or pop-up advertising, or interference with the hypertext links or other functions of this site is expressly prohibited.

DISCLAIMER: All information, links, forms, applications and other items on this site or obtained from it are provided AS IS, WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.