Auougb 13
Auougb 13
User’s Guide
Version 2 Release 1
SC18-9135-03
IBM DB2 Object Restore for z/OS
User’s Guide
Version 2 Release 1
SC18-9135-03
Note:
Before using this information and the product it supports, read the information in “Notices” on page 153.
This edition applies to Version 2 Release 1 of IBM DB2 Object Restore for z/OS (product number 5697-I20) and to
all subsequent releases and modifications until otherwise indicated in new editions.
This edition replaces SC18-9135-02.
© Copyright International Business Machines Corporation 2001, 2009; Copyright Rocket Software Inc., 2001,
2009.
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Contents
About this information . . . . . . . . . . . . . . . . . . . . . vii
Service updates and support information . . . . . . . . . . . . . . . vii
Highlighting conventions . . . . . . . . . . . . . . . . . . . . . vii
How to look up message explanations . . . . . . . . . . . . . . . . vii
Searching an information center. . . . . . . . . . . . . . . . . . vii
Using a Web search . . . . . . . . . . . . . . . . . . . . . . viii
Using LookAt . . . . . . . . . . . . . . . . . . . . . . . . viii
How to send your comments . . . . . . . . . . . . . . . . . . . . viii
Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 iii
DB2 Object Restore main menu . . . . . . . . . . . . . . . . . . 33
Primary commands . . . . . . . . . . . . . . . . . . . . . . . 36
Object list navigation commands and actions . . . . . . . . . . . . . . 39
SORT (or CSORT) . . . . . . . . . . . . . . . . . . . . . . 39
CORDER . . . . . . . . . . . . . . . . . . . . . . . . . . 39
CFIX . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
CEXPAND . . . . . . . . . . . . . . . . . . . . . . . . . 40
COLS . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
CREMOVE . . . . . . . . . . . . . . . . . . . . . . . . . 41
CRESET . . . . . . . . . . . . . . . . . . . . . . . . . . 41
FIND . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Scrolling by column . . . . . . . . . . . . . . . . . . . . . . 41
Scrolling data within a column . . . . . . . . . . . . . . . . . . 41
Scrolling a panel . . . . . . . . . . . . . . . . . . . . . . . 41
Scrolling within an input or output field . . . . . . . . . . . . . . . 42
Color coding . . . . . . . . . . . . . . . . . . . . . . . . . 42
Printing. . . . . . . . . . . . . . . . . . . . . . . . . . . 42
iv User’s Guide
Chapter 6. Bind recovery . . . . . . . . . . . . . . . . . . . . 81
Plan bind recovery . . . . . . . . . . . . . . . . . . . . . . . 81
Work with plans . . . . . . . . . . . . . . . . . . . . . . . 83
Package bind recovery . . . . . . . . . . . . . . . . . . . . . . 87
Work with packages . . . . . . . . . . . . . . . . . . . . . . 87
Collection bind recovery . . . . . . . . . . . . . . . . . . . . . 90
Working with collections . . . . . . . . . . . . . . . . . . . . 90
Contents v
Sizing the RSDBUTIL.RSTSRD01 table space . . . . . . . . . . . . . 129
Sizing the indexspaces . . . . . . . . . . . . . . . . . . . . . 131
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Trademarks. . . . . . . . . . . . . . . . . . . . . . . . . . 155
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . 157
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
vi User’s Guide
About this information
This user's guide provides instructions for using IBM® DB2® Object Restore for
z/OS® (also referred to as Object Restore). To use the procedures in this user's
guide, you must have already installed DB2 Object Restore using the SMP/E
installation process that came with the product.
Always check the DB2 and IMS™ Tools Library page for the most current version of
this publication:
www.ibm.com/software/data/db2imstools/library.html
www.ibm.com/software/data/db2imstools/support.html
Highlighting conventions
This information uses the following highlighting conventions:
v Boldface type indicates commands or user interface controls such as names of
fields, folders, icons, or menu choices.
v Monospace type indicates examples of text that you enter exactly as shown.
v Italic type indicates variables that you should replace with a value, to indicate the
titles of other publication, and to emphasize significant terms.
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 vii
Use the following tips to help you improve your message searches:
v You can search for information on codes by entering the code; for example, enter
-327.
v Enter the complete or partial message number. You can use wild cards (* or ?) in
the message number to broaden your search; for example, DFS20??I.
The information center contains the latest message information for all of the
information management products that are included in the information center.
Using LookAt
LookAt is an online facility that you can use to look up explanations for most of the
IBM messages you encounter, as well as for some system abends and codes.
Using LookAt to find information is faster than a conventional search because in
most cases LookAt goes directly to the message explanation.
You can use LookAt from the following locations to find IBM message explanations
for z/OS elements and features, z/VM®, VSE/ESA™, and Clusters for AIX® and
Linux®:
v The Internet. You can access IBM message explanations directly from the LookAt
Web site at http://www.ibm.com/eserver/zseries/zos/bkserv/lookat/.
v Your z/OS TSO/E host system. You can install code on your z/OS or z/OSe
systems to access IBM message explanations, using LookAt from a TSO/E
command line (for example, TSO/E prompt, ISPF, or z/OS UNIX® System
Services running OMVS).
v Your Microsoft® Windows® workstation. You can install code to access IBM
message explanations on the z/OS Collection (SK3T-4269) using LookAt from a
Microsoft Windows command prompt (also known as the DOS command line).
v Your wireless handheld device. You can use the LookAt Mobile Edition with a
handheld device that has wireless access and an Internet browser (for example,
Internet Explorer for Pocket PCs, Blazer, or Eudora for Palm OS, or Opera for
Linux handheld devices). Link to the LookAt Mobile Edition from the LookAt Web
site.
You can obtain code to install LookAt on your host system or Microsoft Windows
workstation from a disk on your z/OS Collection (SK3T-4269) or from the LookAt
Web site (click Download, and select the platform, release, collection, and location
that suit your needs). More information is available in the LOOKAT.ME files
available during the download process.
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 xiii
xiv User’s Guide
Chapter 1. Introduction to DB2 Object Restore
IBM DB2 Object Restore for z/OS (DB2 Object Restore) can restore dropped
objects and all related dependencies automatically, even if they no longer exist in
the DB2 catalog. This includes dropped databases, table spaces, tables, and
indexes, table and column authorizations, data, synonyms, STOGROUPS, and
aliases. From the selected catalog information, DB2 Object Restore generates the
DDL to rebuild all grant privileges to the correct authorization IDs for database,
system, collection, package plan, table, and view use.
This tool eliminates the need for a duplicate shadow copy of the catalog to recover
objects. The result is that DB2 Object Restore saves DASD space. With this tool
you can feel secure in cleaning up your DB2 system because you can now restore
discarded DB2 objects if necessary. The SYSCOPY program will capture only three
days worth of data, and then delete data 30 days old.
Topics:
v “What does DB2 Object Restore do?”
v “Backup and recovery solutions” on page 2
v “DB2 Object Restore features and benefits” on page 2
v “DB2 Object Restore Versioning Repository” on page 4
v “Performance, security, and restrictions” on page 4
v “Hardware and Software Requirements” on page 6
v “Accessibility features” on page 7
v “Summary of changes” on page 7
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 1
v You can add a load job to the scheduler and schedule the job at whatever
frequency you want (at least once a day or every hour). It is recommended that
you schedule the load job to run at least once a day.
| Database backup and recovery solutions include recovering from a dropped object
| to bouncing back from a major disaster, and everything in between. Recoveries that
| are done manually can be error prone, time consuming, and resource intensive.
| DB2 Object Restore allows recovery of valuable data assets even if they no longer
| exist in the DB2 catalog. DB2 Object Restore is an affordable, flexible, easy-to-use
| tool that provides faster recovery of data assets and keep lower database
| maintenance costs.
| v Automatically restores dropped objects and related dependencies even if they no
| longer exist in DB2 catalog.
| v Allows you to specify what types of objects and privileges will be maintained
| within the DB2 Object Restore Versioning Repository.
| v Offers Single thread Versioning Repository update ensuring that your system’s
| resources are available when they are needed most.
| v Supports double-byte character set (DBCS) for input and output, allowing you to
| use DB2 Object Restore with DBCS object names.
| IBM DB2 Object Restore Tool is an affordable, robust tool that enables you to
| recover valuable data assets by quickly restoring dropped objects without downtime,
| even if they no longer exist in the DB2 catalog. Such dropped objects may include
| databases, table spaces, tables, indexes and data, as well as table authorizations.
| Latest enhancements include double-byte (DBCS) support, single thread Versioning
| Repository update, partial Versioning Repository refresh, point-in-time SQL JCL
| recovery in one-step, and single table recovery.
2 User’s Guide
| v Offers Single thread Versioning Repository update, which prevents users from
| unnecessarily consuming valuable system resources from multiple, concurrent
| Versioning Repository updates, ensuring that your system’s resources are
| available when they are needed most.
| v Allows you to specify what types of objects and privileges will be maintained
| within the DB2 Object Restore Versioning Repository.
| v Implements a method through which you can save time and system resources by
| performing a partial Versioning Repository refresh. You are no longer required to
| refresh the entire Versioning Repository if you know the individual database that
| contains the changes that you want to save.
| v Displays a list of defined DB2 SSIDs from which you can select. You no longer
| need to remember numerous DB2 subsystems.
| v Allows you to recover a single table from image copies, UNLOAD utility backups,
| and dropped tables in table space VSAM data sets. You can use DB2 High
| Performance Unload (if installed) when performing single-table recovery from an
| image copy, which is much more efficient than recovering an entire table space
| just to obtain one table.
| v Restores a DB2 table to a point in time that you choose by using an interface to
| DB2 Log Analysis Tool, making the point-in-time restoration one step.
| v Recovers any SYSCOPY rows that have been archived in the Versioning
| Repository. These rows are normally lost or recoverable only through a lengthy
| resource and time-intensive restore from backup resources.
| v Automatically restores previously dropped objects and all related dependencies.
| v Saves DASD space by eliminating the need for a duplicate shadow copy of the
| catalog to recover objects.
| v Supports recreation of storage groups, databases, table spaces, tables, indexes,
| aliases, synonyms, views, plans and packages.
| v Expands support to include the following privileges: user, system, database,
| table, view, collection, plan, package and column.
| v Offers a user restore option that lets you select only the dependent object types
| desired instead of restoring all dependent objects.
| v An expanded scope of recoverable objects and attributes, including triggers; RI
| foreign key, primary key, and unique key constraints; large object (LOB) table
| spaces; alter time stamp versioning, and UDTs.
| v Enhanced repository management through new automated loading, cleanup, and
| update capabilities. Easier access to image copy functions and the ability to
| inspect image copy results.
| Many DB2 tools provide database management features that are not available in
| DB2 itself or provide enhancements to capabilities built into DB2.
| DB2 Object Restore seamlessly integrates its processing with a number of other
| tools, increasing its capabilities:
| Log Analysis Tool support
| DB2 Object Restore version 2.1 supports DB2 Log Analysis Tool version 1.1
| - 2.3. On DB2 V8 and above subsystems, Object Restore 2.1 only provides
| point-in-time table data recovery if Log Analysis Tool 2.1 or greater is
| installed.
| Another DB2 tool with additional features that can assist with database or system
| recovery is:
| v DB2 Recovery Expert for z/OS
|
DB2 Object Restore Versioning Repository
The DB2 Object Restore Versioning Repository is a database that is used to
capture DB2 system catalog information. This information allows Object Restore to
recreate object and authorization DDL. The Versioning Repository is not a shadow
catalog. The information contained in the Versioning Repository consists of DB2
system catalog information and Object Restore object recovery information. Only
DB2 system catalog information that is required to recreate object DDL is
maintained in the Versioning Repository.
Note: You can run the DB2 Object Restore Versioning Repository load process
multiple times a day. It is recommended that you run the Versioning
Repository load at least once a day.
Performance improvements
Batch analysis jobs can impact the level of performance, especially on the first run
when the object is empty. The job is expected to take a significant time to run,
perhaps hours. Here are some ways to improve performance.
v The Table Authority Unload job and the System Copy Unload jobs can impede
performance. The System Copy Unload job can take an especially heavy toll on
its initial run and less so when it runs each day. You can minimize the impact of
these jobs after their initial runs by limiting the Versioning Repository updates to
only the added, or new, information.
v You can gain performance improvements when running AUOVRUPD by manually
creating the following indexes on the systems on which you run the AUOVRUPD
job, executing RUNSTATS, and then rebinding the AUO plans:
Table 1. Performance improvement indexes
Table Name Column, Order Uniqueness
SYSIBM.SYSFOREIGNKEYs CREATOR,TBNAME NOT UNIQUE
SYSIBM.SYSPLANDEP DNAME, ASC NOT UNIQUE
SYSIBM.SYSPLSYSTEM NAME, ASC NOT UNIQUE
SYSIBM.SYSPACKLIST PLANNAME, ASC NOT UNIQUE
4 User’s Guide
Table 1. Performance improvement indexes (continued)
Table Name Column, Order Uniqueness
SYSIBM.SYSVIEWDEP DNAME, ASC NOT UNIQUE
SYSIBM.SYSVIEWDEP DCREATOR, ASC NOT UNIQUE
Object Restore issues the following messages when these conditions are detected:
Condition 1
db2_ssid is executing in new function mode and the DSNHDECP new
function mode indicator is set to N. This condition can cause this product
and DB2 to limit some functions to compatability mode service levels.
Condition 2
db2_ssid is executing in compatability or enabling mode and the
DSNHDECP new function mode indicator is set to Y. This condition may
generate recoveries that contain DDL, SQL, or JCL that utilizes new
function mode syntax or services.
Security
You must have DBADMIN authority, at a minimum, to install DB2 Object Restore.
You must also have the authority to bind the plans and read the DB2 Control File.
Restrictions
These are the restrictions for DB2 Object Restore.
A simple table that has been dropped cannot be recovered in DB2 version 9. DB2
version 9 does not support the recovery of simple tables.
Bind processing
DB2 Object Restore uses your system’s TSO bind processor to perform online
binds. Consequently, if your TSO bind processor does not support binds of DSN*
prefixed plans and packages Object Restore will not bind them. Plans and
packages prefixed by DSN* are generally IBM plans and packages.
Object Restore cannot correctly recover tables that contain an IDENTITY column
managed by DB2. The table can be recovered, but you will be unable to enter any
more data into the table. When the table is recovered, the identity numbering
attributes are automatically set back to 1 by DB2. Object Restore cannot reset the
IDENTITY column numbering to start at the last_known_identity_value +1.
Any FKey Alter statements that place the table space in check pending are placed
at the end of the data recovery JCL. In other words, only during table recovery,
when the dropped table is a parent of another table (or tables), are there RI Alter
statements added at the end of the data recovery JCL. Whenever these RI Alter
statements are added to the end of the recovery JCL, there is also a check data
step to take the table space out of check pending. These RI Alter statements (at the
end of the data recovery JCL) are not present when the DDL is saved to a file. All
other FKey Alter statements remain the same (in the DDL file) and get saved for
execution later.
Additional restrictions
v Referential Integrity recovery across table spaces is not supported.
v COLUMN LABELS and TABLE LABELS are not supported.
v Recover to current of LOBs (DB2 large objects) is not supported.
DB2 version
DB2 Object Restore requires an installation of DB2 version 7 or later.
SMP/E
DB2 Object Restore requires SMP/E Version 1 for installation.
ISPF
ISPF--whatever version you support--is required for DB2 Object Restore.
6 User’s Guide
Accessibility features
Accessibility features help a user who has a physical disability, such as restricted
mobility or limited vision, to use a software product successfully.
The major accessibility features in DB2 Object Restore enable users to:
v Use assistive technologies such as screen readers and screen magnifier
software. Consult the assistive technology documentation for specific information
when using it to access z/OS interfaces.
v Customize display attributes such as color, contrast, and font size.
v Operate specific or equivalent features by using only the keyboard. Refer to the
following publications for information about accessing ISPF interfaces:
– z/OS ISPF User’s Guide, Volume 1
– z/OS TSO/E Primer
– z/OS TSO/E User’s Guide
These guides describe how to use ISPF, including the use of keyboard shortcuts or
function keys (PF keys), include the default settings for the PF keys, and explain
how to modify their functions.
Summary of changes
DB2 Object Restore for z/OS, Version 2.1 makes it possible to quickly restore
dropped objects. The following enhancements are provided in this release:
Object Restore supports DB2 V9. This allows you to exploit the features available in
DB2 V9. These features are only supported when the DB2 V9 PTF is applied and
the schema level repository has been upgraded to DB2 V9 NFM structure level.
NOT LOGGED table spaces
DB2 V9 added LOGGED and NOT LOGGED to the CREATE TABLESPACE
and ALTER TABLESPACE statements to reduce logging where absolute
recovery was not required.
Clone Table Support
DB2 V9 added ADD CLONE and DROP CLONE to the ALTER TABLE
statement, the EXCHANGE DATA statement, and CLONE to
–START/-STOP commands and many utilities. Cloned objects receive the
8 User’s Guide
Support for DB2 V8
Object Restore supports DB2 V8. This allows you to exploit the features
available in DB2 V8.
Topics:
v “Customizing DB2 Object Restore”
v “DB2 High Performance Unload product support” on page 31
Table 2. Overview of steps for configuring DB2 Object Restore
Step Description SAUOSAMP Member
1 Create required Versioning Repository. AUO#DDL7 or AUO#DDL8
2 APF authorize the LOAD libraries. None
3 Bind the SQL. AUO#BKV7 and AUO#BPV7 or AUO#BKV8
and AUO#BPV8
4 Bind the SQL for all other subsystems AUO#BKV7 and AUO#BPV7 or AUO#BKV8
to which you want to connect. and AUO#BPV8
5 Grant authorizations AUO#GRNT
6 Create the control file. AUOCNTFL
7 Authorize FEC$TSOC. None
8 Edit SAUOSAMP members AUOCONFG or AUOCLIST and AUO
AUOCONFG or AUOCLIST and AUO
9 Optional. Edit SAUOSAMP member AUOTERUN
AUOTERUN
10 Start DB2 Object Restore. None
11 Configure DB2 subsystem information None
12 Optional. Configure work data set None
allocation parameters.
13 Configure the DB2 Object Restore None
Versioning Repository.
14 Load the DB2 Object Restore AUOVRUPD
Versioning Repository.
15 Optional. Add DB2 Object Restore to AUOADBI
the DB2 Administration Tool launchpad.
16 Optional. Add DB2 Object Restore to None
the DB2 Administration Tool main
menu.
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 11
Note: If you are migrating to DB2 Object Restore Version 1.3 from Version 1.2, you
can upgrade your Versioning Repository rather than dropping it and replacing
it with a new Versioning Repository. Refer to the information in ″Upgrade the
Object Restore Versioning Repository″. You will perform those steps instead
of the ones found in this step.
The DB2 Object Restore product supports two distinct Versioning Repositories. For
DB2 versions 5, 6, 7, and 8 CM, the Versioning Repository definition used with DB2
Object Restore 1.3 is used. For DB2 version 8 NFM, the Versioning Repository
structure is not compatible with the 1.3 Versioning Repository.
12 User’s Guide
6. Change YYYYYYYY to a valid user ID for a package owner for all of the BIND
PACKAGE statements.
7. Submit the AUO#BKV7 JCL to bind the product packages.
Important: Depending on the version of DB2 that you are running, you may
encounter a return code of 4 indicating that one or more columns
are not being referenced. This is a valid, acceptable condition
when running AUO#BKV7. The JCL may return a return code of
12 if this is the first time the packages are being bound on target
DB2 subsystem. The return code 12 will be generated by the
FREE PACKAGE statement because there are no packages to be
freed.
8. Edit SAUOSAMP member AUO#BPV7. This member will bind the plans for the
product.
9. Add the appropriate job card to AUO#BPV7.
10. Change DSN.SDSNLOAD in the STEPLIB DD to the appropriate DB2 load
libraries.
11. Change the high level qualifier in the DBRMLIB DD to the high level qualifier of
the installed DB2 Object Restore libraries.
12. Change SSID to a valid DB2 subsystem ID for your environment.
13. Rename your plans with any names that are appropriate for your site.
(Optional) The default plan names are AUO7PLN1, AUO7PLN2, and
AUO7PLN3.
Important: Depending on the version of DB2 that you are running, you may
encounter a return code of 4 indicating that one or more columns
are not being referenced. This is a valid, acceptable condition
when running AUO#BKV8. The JCL may return a return code of
12 if this is the first time the packages are being bound on target
DB2 subsystem. The return code 12 will be generated by the
FREE PACKAGE statement because there are no packages to be
freed.
8. Edit SAUOSAMP member AUO#BPV8. This member will bind the plans for the
product.
9. Add the appropriate job card to AUO#BPV8.
10. Change DSN.SDSNLOAD in the STEPLIB DD to the appropriate DB2 load
libraries.
Important: Depending on the version of DB2 that you are running, you may
encounter a return code of 4 indicating that one or more columns
are not being referenced. This is a valid, acceptable condition
when running AUO#BKV9. The JCL may return a return code of
12 if this is the first time the packages are being bound on target
DB2 subsystem. The return code 12 will be generated by the
FREE PACKAGE statement because there are no packages to be
freed.
8. Edit SAUOSAMP member AUO#BPV9. This member will bind the plans for the
product.
9. Add the appropriate job card to AUO#BPV9.
10. Change DSN.SDSNLOAD in the STEPLIB DD to the appropriate DB2 load
libraries.
11. Change the high level qualifier in the DBRMLIB DD to the high level qualifier of
the installed DB2 Object Restore libraries.
12. Change SSID to a valid DB2 subsystem ID for your environment.
13. Rename your plans with any names that are appropriate for your site.
(Optional) The default plan names are AUO9PLN1, AUO9PLN2, and
AUO9PLN3.
14 User’s Guide
Note: Use SPUFI to run this step.
Important: If you intend to use DB2 Object Restore and DB2 Log Analysis Tool
together to enable you to support point in time recoveries, the products
must share the same product control file.
1. Edit SAUOSAMP member AUOCNTFL.
2. Add the appropriate job card to AUOCNTFL.
3. Change the data set name in the DELETE statement.
4. Change the:
v data set name
v data name
v index name
within the define cluster instruction.
5. Change the name of the OUTDATASET in the REPRO instruction.
6. Run AUOCNTFL to create the control file.
Important: If you are using Object Restore with DB2 Log Analysis Tool version 2.3,
then you must use the following REXX Exec modules and substitute
their names in these instructions:
v AUORA
Modules AUOR and AUOEXEC do not require you (or whoever installs the product)
to make any changes. You are required to update the AUOCONFG module. You
should follow the installation instructions included in that module.
You start DB2 Object Restore using the following TSO command:
EXEC 'AUO.IBMTAPE.SAUOSAMP(AUOR)' 'NONE NONE AUOCONFG'
Important:
1. If you are upgrading from DB2 Object Restore version 1.1 or 1.2
you must replace the start-up CLISTS shipped with those product
versions with the AUO and AUOCLIST CLIST modules shipped in
the 2.1 SAUOSAMP data set.
2. If you are upgrading from DB2 Object Restore version 1.3 you must
replace the AUOCLIST module shipped with that product with the
AUOCLIST shipped in the 2.1 SAUOSAMP data set.
3. If you are using Object Restore with DB2 Log Analysis Tool version
2.3, then you must use the following CLIST modules and substitute
their names in these instructions:
v AUOCLSTA
v AUOA
Before you use the CLIST modules you are required to make modifications to them:
1. Edit SAUOSAMP member AUOCLIST.
a. Change AUOHLVL within the parentheses to the high-level qualifier of your
DB2 Object Restore installed libraries in the PROC statement.
b. (Optional) Change ALAHLVL within the parentheses to the high-level
qualifier of your DB2 Log Analysis Tool installed libraries in the PROC
statement.
c. Change FECHLVL within the parentheses to the high-level qualifier of your
Common Code installed libraries in the PROC statement.
d. Change AUO.DB2.CONTROL in the SET statement to the name of the
control file that you created in Step 5 above, or your existing control file.
e. (Optional) If you intend to use the Log Analysis Tool 1.3 interface with DB2
Object Restore, then you must remove or comment out the following
LIBDEF statement:
ISPEXEC LIBDEF ISPLLIB DATASET ID('&AUOHLVL..SAUOLOAD' +
'&FECHLVL..SFECLOAD') UNCOND
and uncomment the following LIBDEF statement:
ISPEXEC LIBDEF ISPLLIB DATASET ID('&AUOHLVL..SAUOLOAD' +
'&ALAHLVL..SALALOAD' +
'&FECHLVL..SFECLOAD) UNCOND
16 User’s Guide
f. (Optional) If you intend to use the Table Editor Interface with DB2 Object
Restore, then you must change the statement SET &AUOETI = &STR(N) to SET
&AUOETI = &STR(Y).
g. (Optional) To suppress the generation of object comment boxes in the DDL
created by Object Restore, then you must ensure that the statement SET
&AUOOBJC = &STR(N) remains set to N.
h. Update the variable assignments with the names of the DB2 High
Perfomance Unload product library names. If DB2 High Performance Unload
is not available, then you must assign empty variables. The variable
assignment statements are SET &HPULOAD1 = and SET &HPULOAD2 =. An
example of the syntax is SET &HPULOAD1 = &STR('DB2UNL.SINZLINK').
i. Change the data set name created by the SET statement SET &EXECDSN =
&STR(&ZUSER..TMPEXEC.DATA) to follow your installation’s conventions. This
data set is only used for the duration of a recovery session and is deleted
when you exit DB2 Object Restore.
j. Change the data set name created by the SET statement SET &XRPTDSN =
&STR(&ZUSER..TMPXRPT.DATA) to follow your installation’s conventions. This
data set is only used for the duration of a recovery session and is deleted
when you exit DB2 Object Restore.
2. Edit SAUOSAMP member AUO.
a. In AUO, specify the libraries where AUOCLIST and the DB2 Log Analysis
Tool CLIST are located (CLISTLIB AND ALACLIST, respectively). If you do
not want to pass the CLIST library names when the CLIST is invoked, then
remove theCLISTLIB() AND ALACLIST() references from the PROC
statement. You must then change the references to CLISTLIB and
ALACLIST to the appropriate CLIST library name.
Note: The libraries used in this step should match the names that you
allocated during installation.
b. (Optional) If the Log Analysis Tool 1.3 interface is to be used with DB2
Object Restore, then remove or comment out the following statement:
ALLOC FILE(AUOCLIST) DATASET('&CLISTLIB') SHR REU
The ALACLIST variable must contain the name of the Log Analysis Tool v1.3
(or v2.1) CLIST library.
where ssid is the DB2 subsystem to which you wish to connect. If you do
not use the SSID parameter, then the last SSID value that you entered is
used.
Remember: The example statements use AUO and AUOR. Remember that you
must use the name of the start up module that you used in
Customization Step 7:
CLIST names
AUO or AUOA
REXX names
AUOR or AUORA
18 User’s Guide
DB2 OR V2R1 ------------- Product Setup Options ------------ 2003/10/29 17:40
Option ===>
3. On the Product Setup Options panel, type 1 on the command line to access
the product setup for DB2 Object Restore. The Enter DB2 System Parameters
panel opens:
4. In the DB2 Subsystem ID field, type the subsystem identifier (SSID) for the
DB2 subsystem that you want to configure. This field has a four-character
maximum.
5. Type 1 on the Command line and press the Enter key. The Update Parameters
for DB2 Subsystem panel opens.
6. In the Update Parameters for DB2 Subsystem panel, enter information specific
to a particular DB2 subsystem, including ZPARM, BSDS, and load library.
a. In the DB2 ZPARMs Member field, type the ZPARM load module member
name generated for this DB2 subsystem.
b. In the DB2 Bootstrap DSN #01 and the DB2 Bootstrap DSN #02 fields
type the full dataset names of the two bootstrap datasets that are being
used by this DB2 Subsystem.
c. In the DB2 Loadlib1 to DB2 Loadlib5 fields, type the names of the
datasets that comprise the current loadlib concatenation for DB2. The
loadlib usually consists of:
v a subsystem-specific DSNEXIT library
v the base DSNLOAD library for the current DB2 version
Note: There are three extra Loadlib fields. They can be left blank or used
to enter any other libraries contained in the loadlib concatenation.
d. Press Enter to submit your changes. A message appears on the panel to
indicate that your changes have been saved.
e. Press PF3 to return to the Enter DB2 System Parameters panel.
7. Type 2 on the Command line. The second DB2 Object Restore - Update
Parameters for DB2 Subsystem panel opens.
8. In the second Update Parameters for DB2 Subsystem panel, type information
specific to the DB2 Object Restore parameters.
a. In the Plan #1 Name field, type the plan name used for DB2 Object
Restore to display objects. This is the first plan name that was used in
member AUO#BPVn in the SAUOSAMP library when the plan for DB2
Object Restore was bound.
20 User’s Guide
b. In the Plan #2 Name field, type the plan name used for DB2 Object
Restore to execute the generated DDL. This is the second plan name that
was used in member AUO#BPVn in the SAUOSAMP library when the plan
for DB2 Object Restore was bound.
c. In the Plan #3 Name field, type the plan name used for DB2 Object
Restore to load and delete data from the versioning repository. This is the
third plan name that was used in member AUO#BPVn in the SAUOSAMP
library when the plan for DB2 Object Restore was bound.
d. Press Enter to submit your changes. A message appears on the panel to
indicate that your changes have been saved.
e. Press PF3 to return to the previous panel.
9. Press Enter to submit your changes.
10. Repeat steps 2 - 8 for each subsystem against which you want to run DB2
Object Restore.
When setting up a data sharing environment, first, identify the subsystem ID (SSID).
This will be used as the group name. For any required datasets, such as the
bootstrap dataset (BSDS), you can use any one of the member’s BSDS names.
You only have to specify one member’s BSDS name because each member’s
BSDS name contains the necessary information for the entire group.
Note: You can configure for each subsystem within the group, though the entire
data sharing environment will still be used. You will spend less time setting
up and save effort if you configure for a single group ID.
On the Product Setup Options panel, type 2 on the command line to access the
product setup for DB2 Object Restore. The Session Work Dataset Parameters
panel opens:
DB2 OR V2R1 -------- Session Work Dataset Parameters ------- 2003/10/29 17:51
Command ===>
On this panel, you specify the work dataset allocation parameters for DB2 Object
Restore. You can specify the following parameters:
v Track or Cylinder
v Primary quantity
v Secondary quantity
v Device Type
v SMS Data Class
22 User’s Guide
v SMS Storage Class
v SMS Management Class
On the Product Setup Options panel, type 3 on the command line to access the
product setup for DB2 Object Restore. The Recovery Dataset Parameters panel
opens:
On this panel, you specify the work dataset allocation parameters for DB2 Object
Restore output files. You can specify the following parameters:
v Unit
v Track or Cylinder
v Primary quantity
v Secondary quantity
v Device Type
v SMS Data Class
v SMS Storage Class
v SMS Management Class
and if the Unit is a tape device, you can specify:
v Maximum volumes
v Expiration date
v Retention period
v File number
DB2 OR V2R1 --------- Image Copy Dataset Parameters -------- 2003/10/29 17:59
Command ===>
On this panel, you specify the image copy dataset allocation parameters for DB2
Object Restore. You can specify the following parameters:
v Unit
v Track or Cylinder
v Primary quantity
v Secondary quantity
v SMS Data Class
v SMS Storage Class
v SMS Management Class
and if the Unit is a tape device, you can specify:
v Maximum volumes
v Expiration date
v Retention period
v File number
On the Product Setup Options panel, type 5 on the command line to access the
product setup for DB2 Object Restore. The Log Analysis Service Options panel
opens:
24 User’s Guide
DB2 OR V2R1 --------- Log Analysis Services Options --------- 2007/06/20 14:17
Option ===>
More: +
Dynamic allocation device attributes:
DASD data set unit ..... SYSALLDA
Tape data set unit ..... CART
ROWDATA VSAM data set attributes (leave blank for automatic sizing):
Volumes ................ (111111,222222, etc.)
Data component:
Track or Cylinder .... C ('T' for Tracks, 'C' for Cylinders)
Primary quantity ..... 00050 (00001 to 99999)
Secondary quantity ... 00050 (00000 to 99999)
On this panel, you specify the log analysis service options for DB2 Object Restore.
You can specify the following parameters:
Dynamic allocation device attributes
DASD data set unit
Specify a UNIT name on disk (or DASD) for your file allocations.
This field can be left blank if your system allows non-specification of
unit type.
Tape data set unit
Specify a UNIT name on tape for your file allocations. If left blank,
no retry to tape is attempted for failed DASD type allocations.
Temporary image copy data set attributes
The data requested for temporary image copies is required for log-forward
applications. Supply the requested information for allocations of temporary
datasets needed to process inline image copies, if any found during
processing.
Device type
Type D if you want temporary image copy allocations to be forced
to disk.Type T if you want temporary image copy allocations to be
forced to tape. - Type I if you want temporary image copy
allocations to be derived from the device type of the originating
image copy.
Unit If Device Type was specified as either D or T, supply a unit name
for the requested type. For example, if T, the unit name might be
3390.
Track or Cylinder
Specify either C for cylinders, or T for tracks.
Primary quantity
Specify primary space allocation.
Secondary quantity
Specify secondary space allocation.
This panel is the selection menu for the Versioning Repository recovery options.
These options are global product options. The menu options are:
1. Versioning Repository Object Unload Options
This selection displays a list of object Versioning Repository options.
2. Versioning Repository Authorization Unload Options
26 User’s Guide
This selection displays a list of authorization Versioning Repository options.
3. Recovery Image Copy Data Retention Options
This selection displays the SYSCOPY retention option panel.
4. Recovery Object Data Retention Options
This selection displays the object retention option panel.
Select option 1 from the Repository Options panel and the Versioning Repository
Object Unload Options panel appears:
On this panel you use the slash (/) to select the objects whose recovery information
DB2 OR V2R1 -------- IBM DB2 Object Restore Profile -------- 2003/10/29 18:08
Option ===>
Object Recovery:
Enter "/" to select option
Capture Storage Groups Capture Distinct Types
Capture Views Capture RI Information
Capture Databases Capture Triggers
Capture Table Spaces Capture Procedures
Capture Tables Capture Sequences
Capture Indexes
Capture Synonyms
Capture Aliases
Capture Plan and Packages for Bind
Select option 2 from the Repository Options panel and the Authorization Recovery
panel appears:
Privilege Recovery:
Enter "/" to select option Enter "/" to select option
Capture System Privileges Limit repository update to adds only
Capture Use Privileges Limit repository update to adds only
Capture Database Privileges Limit repository update to adds only
Capture Table/View Privileges Limit repository update to adds only
Capture Column Privileges Limit repository update to adds only
Capture Package Privileges Limit repository update to adds only
Capture Plan Privileges Limit repository update to adds only
Capture Collection Privileges Limit repository update to adds only
Capture Sequence Privileges Limit repository update to adds only
On this panel you use the slash (/) to select the authorization recovery information
that you want retained in the Versioning Repository. Additionally, you can limit the
Versioning Repository updates to only the added or new privileges by selecting the
options in the right-side column.
Note: By limiting the Versioning Repository updates to only the added or new
privileges, you can lessen the impact of the AUOVRUPD job on your system
performance.
Select option 3 from the Repository Options panel and the SYSCOPY data
retention panel appears:
DB2 OR V2R1 -------- IBM DB2 Object Restore Profile -------- 2003/10/29 18:09
Option ===>
Notes:
28 User’s Guide
On this panel, you can specify the number of days that SYSCOPY rows will be
retained in the versioning repository. You must enter a three-digit number between
001 and 999 to indicate the number of days that you want the recovery data
retained. If you specify a value of 999, SYSCOPY rows will be retained indefinitely.
Select option 4 from the Repository Options panel and the Versioning Repository
Object Retention Options panel appears:
DB2 OR V2R1 -------- IBM DB2 Object Restore Options -------- 2003/10/29 18:10
Option ===>
On this panel, you must specify the number of object versions that you want
retained in the versioning repository. Valid values are 00001-99999. You can also
indicate that you want expired versions of objects dropped during the load process.
Note: Dropping expired object versions during the versioning repository load
process will add additional execution time to that process.
Note: You must run AUOVRUPD at least once a day or each time you create an
object.
Note: For detailed information on how to enable an IBM DB2 tool for the
launchpad, see DB2 Administration User’s Guide (SC27-0974).
30 User’s Guide
Step 16: (Optional) Adding DB2 Object Restore to the DB2
Administration Tool main menu
You can add DB2 Object Restore to the DB2 Administration Tool V3.1, or later, main
menu. Then, when you select DB2 Object Restore from the DB2 Administration Tool
main menu, you initiate an Object Restore session and the DB2 SSID and SQLID
selected in the DB2 Admin Tool are passed to the AUO dialog.
To add DB2 Object Restore v2.1 (AUO) to the DB2 Administration Tool main menu:
1. Locate panel ADB2 in DB2 Administration Tool product panel library.
2. Edit panel ADB2 in ISPF EDIT.
3. Add option choice character for AUO to FUNCTION CHOICE CHARACTER
DISPLAY SECTION. For example:
&B = ' A'
4. Add option choice character for AUO to FUNCTION CHOICE CHARACTER
SECTION. For example:
&BOPT = A
5. Add product description to FUNCTION CHOICE DESCRIPTION SECTION. For
example:
&BDESCR = '- DB2 Object Restore V2R1'
6. Add ISPF product execute statement to FUNCTION CHOICE ACTIONS
SECTION. For example:
CLIST
&BISPF = 'SELECT CMD(%AUO SSID(&DB2SYS) SQLID(&DB2AUTH))'
REXX Exec
&BISPF = 'SELECT CMD(%AUOR &DB2SYS NONE AUOCONFG))'
Important: Remember to use the start up module name that you used in
Customization Step 7:
CLIST names
AUO or AUOA
REXX names
AUOR or AUORA
IBM DB2 High Performance Unload (DB2 HPU) is a high-speed DB2 utility for
unloading DB2 tables from an image copy. DB2 HPU works outside of DB2, directly
accessing the sequential files that contain the image copy data set. DB2 HPU
provides superior performance, especially in terms of CPU and elapsed time.
DB2 Object Restore has the ability to utilize DB2 HPU when providing single table
recovery from an image copy data set. Without this utility, Object Restore cannot
perform single table recovery from an image copy for DB2 versions 5 and 6.
The product installer must configure the Object Restore start up to access the DB2
HPU product library. After the Object Restore start up has been configured to
access the DB2 HPU product libraries, the DB2 HPU utility will be used.
32 User’s Guide
Chapter 3. Running DB2 Object Restore
Use DB2 Object Restore to recover a variety of DB2 objects, privileges, and data.
This utility creates the SQL that, when executed, restores the objects on DB2 for
z/OS.
Start DB2 Object Restore by running the SAUOSAMP library member AUO. The
main menu for DB2 Object Restore opens.
Topics:
v “DB2 Object Restore main menu”
v “Primary commands” on page 36
v “Object list navigation commands and actions” on page 39
More: +
Object Recovery Binds Utilities
G Storage Groups P Plans ES Execute Saved DDL
D Databases K Packages IC Image Copies
S Table Spaces L Collections UJ Utility JCL
T Tables
X Indexes Privileges Product Settings
V Views
Y Synonyms RA Resources UR User Recovery Options
A Aliases UA System Privileges RO Repository Options
E Data Types PP Plans PS Product Setup
J Triggers KP Packages
F Functions
O Stored Procedures
Attention: Since this is a scrollable panel, not all options are visible in this figure.
The header fields and menu options are described briefly below.
Header fields
DB2 Subsystem
Enter 1-4 character DB2 Subsystem ID. This value is commonly known as
the SSID. Enter a question mark (?) to display a list of DB2 Subsystem IDs
that are defined in the product control file.
Current SQLID
Enter 1-128 character current SQLID.
This is a scrollable data field. Scrollable field commands apply when the the
cursor has been placed within the field. An indicator to the right of the field
will be displayed to indicate if left (<) or right (>) scrolling can be performed.
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 33
The recovery session current SQLID will be set to the non-blank value. A
″SET CURRENT SQLID″ statement will be generated containing the value
when object recovery DDL is generated.
Recovery
v Type L to limit data recoveries to local and remote image copies.
v Type R to limit data recoveries to remote image copies.
User The current user ID.
Object Recovery
Storage Groups
Use the Storage Groups option to work with a dropped storage group.
Alternatively, you can use this option to copy this object to another
subsystem.
Databases
Use the Databases option to work with a dropped database. Alternatively,
you can use this option to copy this object to another subsystem.
Table Spaces
Use the Table Spaces option to work with a dropped table space.
Alternatively, you can use this option to copy this object to another
subsystem.
Tables
Use the Tables option to work with a dropped table. Alternatively, you can
use this option to copy this object to another subsystem.
Indexes
Use the Indexes option to work with a dropped index. Alternatively, you can
use this option to copy this object to another subsystem.
Views Use the Views option to work with a dropped view. Alternatively, you can
use this option to copy this object to another subsystem.
Synonyms
Use the Synonyms option to work with a dropped synonym. Alternatively,
you can use this option to copy this object to another subsystem.
Aliases
Use the Aliases option to work with a dropped alias. Alternatively, you can
use this option to copy this object to another subsystem.
Data Types
Use the Data Types option to work with a dropped data type. Alternatively,
you can use this option to copy this object to another subsystem.
Triggers
Use the Triggers option to work with a dropped trigger. Alternatively, you
can use this option to copy this object to another subsystem.
Functions
Use the Functions option to work with a dropped function. Alternatively, you
can use this option to copy this object to another subsystem.
Stored Procedures
Use the Stored Procedures option to work with a dropped stored procedure.
Alternatively, you can use this option to copy this object to another
subsystem.
34 User’s Guide
Sequences
Use the Sequences option to work with a dropped sequence. Alternatively,
you can use this option to copy this object to another subsystem.
Roles Use the Roles option to work with a dropped role. Alternatively, you can use
this option to copy this object to another subsystem.
Restriction:
v The Sequences option only applies to DB2 Version 8 NFM (New
Function Mode) and DB2 Version 9.
v The Roles option only applies to DB2 Version 9 NFM (New
Function Mode).
Binds
Plans Use the Plans option to work with a dropped plan. Alternatively, you can
use this option to copy this plan to another subsystem.
Packages
Use the Packages option to work with a dropped package. Alternatively, you
can use this option to copy this package to another subsystem.
Collections
Use the Collections option to work with a dropped collection. Alternatively,
you can use this option to copy this collection to another subsystem.
Privileges
Resources
Use the Resources option to work with dropped resource privileges.
Alternatively, you can use this option to copy the resource privileges to
another subsystem.
System Privileges
Use the System Privileges option to work with dropped user privileges.
Alternatively, you can use this option to copy the user privileges to another
subsystem.
Plans Use the Plans option to work with a dropped plan privileges. Alternatively,
you can use this option to copy the plan privileges to another subsystem.
Packages
Use the Packages option to work with dropped package privileges.
Alternatively, you can use this option to copy the package privileges to
another subsystem.
Utilities
Execute Saved DDL
Use the Execute Saved DDL option to retrieve saved DDL that you can
modify and then submit.
Image Copies
Use the Image Copies option to work with image copies. You can review
the TSO Listcat output for the selected image copy or review the recovery
details for a selected table space.
Utility JCL
Use the Utility JCL option to generate JCL to load the Versioning Repository
or to clean the Versioning Repository.
Primary commands
There are several primary commands that are available from the Option line in DB2
Object Restore.
ABOUT
The ABOUT command displays information about the DB2 Object Restore product.
Option Description
Type 1 on the About DB2 Object Restore panel to display the ISPF envionment
settings.
36 User’s Guide
------------------------ About DB2 Object Restore V2R1 -----------------------
Option ===>
Type 2 on the About DB2 Object Restore panel to display the product version
information.
Product Name
The product name.
IBM Product Code
The IBM product code.
IBM SMP/E FMID
The SMP/E product FMID.
IBM Group Code
The IBM product group code.
Product Code
The product code.
Maintence Level
The product internal maintenance level.
Repository Level
The Versioning Repository level.
DB2 Max Version
The maximum DB2 version support.
OPTIONS
Use the OPTIONS command to display the Recovery Options menu. When you exit
the Recovery Options menu you will be returned to the panel from which you
entered the OPTIONS command.
RRL
Use the RRL command to invoke the on-line versioning repository update. This
update process will only update the DB2 Object Restore versioning repository for a
single database. To archive all updates for the DB2 system catalog use the batch
versioning repository update job.
SETUP
Use the SETUP command to display the Product Setup Options menu. When you
exit the product setup options menu you will be returned to the panel from which
you entered the SETUP command.
JUMP
Use the JUMP command to invoke another DB2 Tool product. Type
JUMP xxxx
where xxxx is the tool start up CLIST or REXX EXEC. Jumping to the DB2 Object
Restore product from within the DB2 Object Restore product may produce
undesirable results and should not be done.
CANCEL
Use the CANCEL command to exit a DB2 Object Restore option. Any changes
made to information on the current panel prior to issuing the CANCEL command
are not saved.
EXIT
Use the EXIT command to exit a DB2 Object Restore option. Any changes made to
information on the current panel prior to issuing the EXIT command are saved.
UNLOAD
Use the UNLOAD command to display the Repository Options menu. When you
exit the Repository Options menu you will be returned to the panel from which you
entered the UNLOAD command.
Note: Not all of the commands are available on all of the panels.
38 User’s Guide
Object list navigation commands and actions
DB2 Object Restore is a TSO/ISPF application, that responds to standard
TSO/ISPF commands. In addition to the standard TSO/ISPF commands special
data navigation commands are provided.
Enter: Process selections; PF3: Exit and save; CAN: Exit without save
Cmd: 1-9 Dir: A Asc D Desc
A maximum of 9 columns can be selected for sorting at one time. You can also
issue SORT x y where x is the column number, and y is A or D for ascending or
descending. The column number is relative to the current panel and is limited to the
panel.
CORDER
This command allows you to rearrange the horizontal positioning of the columns on
the panel. One restriction is that an unfixed column cannot be moved to a position
before a fixed one. Likewise, a fixed column cannot be moved to a position after an
unfixed column. Sample CORDER panel:
Enter: Process selections; PF3: Exit and save; CAN: Exit without save
Line Cmds: Specify number for column position
CFIX
This command allows you to FIX or UNFIX a column in its position. If the column is
fixed by the DB2 Object Restore display software, it cannot be unfixed. Sample
CFIX panel:
Device_Width : 80
Old_Fixed_Width: 13 Old_Unfixed_Width: 67
New_Fixed_Width: New_Unfixed_Width:
-------------------------------------------------------------------------------
Enter: Process selections; PF3: Exit and save; CAN: Exit without save
Line Cmds: F Fix U Unfix
CEXPAND
This command allows you to place the cursor on a row-column data element, issue
CEXPAND, and see a display of that data element (only).
40 User’s Guide
COLS
The COLS command displays a ruler line just below the data heading.
CREMOVE
This command removes all customizations that were created via CSET commands.
All user changes to column size, order, fix status, and sorting order are removed.
The panel is reset to its default display settings and all columns sizes are set to the
maximum size.
CRESET
The CRESET command provides the same functionality as the CREMOVE
command except that the column sizes are reset to the initial product default sizes.
FIND
Use the FIND command to find a unique string within a panel of data. The
command structure for FIND is: FIND ABC
If the specified string is found, the cursor moves to the first position of the found
string. If the specified string is not found, the message Find string not found is
displayed.
Scrolling by column
The panel can be scrolled by column. Column scrolling commands are CRIGHT
(abbreviated CR) and CLEFT (abbreviated CL). Additionally, these commands can
be assigned to PF keys.
Scrolling a panel
When data exceeds the size of the panel, indicators alert you that additional data
exists outside the visible panel. There are four character spaces on the third line of
the upper right-hand corner of the panel that are used to indicate a scrollable page.
Pages may be scrollable horizontally, vertically, or both.
A plus sign (+) and/or a minus sign (-) indicates that there is additional data
vertically.
v The plus sign (+) indicates there is data below; use PF8 to scroll down.
v The minus sign (-) indicates there is data above; use the PF7 key to scroll up.
The less-than sign (<) and/or the greater-than sign (>) means there is additional
data horizontally.
A scroll indicator is displayed at the end of each scrollable field. This indicator will
indicate whether left and / or right scrolling can be performed. The indicator values:
v <> -- Indicates that you can scroll left and right.
v < -- Indicates that you can only scroll left.
v > -- Indicates that you can only scroll right.
Color coding
DB2 Object Restore uses color to convey information. If you are working on a
terminal or other panel that does not support color displays, you will not see this
feature, however, there is a DROPPED column to indicate object status.
Printing
You can print the contents of any panel.
Type PRINTX at any Option line. There is no system feedback, however, the current
panel is written to the RSCPRINT DD of your TSO session.
42 User’s Guide
Chapter 4. Product Settings
The DB2 Object Restore Product Settings are where you work with the
administrative tasks related to Object Restore.
You can set options that control the recovery according to an individual user’s
profile, you can set options that control the Versioning Repository at a global level,
and you can specify a time period for SYSCOPY data retention in the Versioning
Repository.
Topics:
v “User Recovery Options”
v “Repository options” on page 46
v “Product DB2 Setup” on page 47
-------------------------------------------------------------------------------
This panel is the selection menu for the user recovery options profile. These options
are saved for the individual user and are not global product options. The menu
options are:
1. User Recovery Generation Options
This selection displays a list of Versioning Repository options.
2. Bind Generation Options
This selection displays a list of bind recovery options.
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 43
| DB2 OR V2R1 -------- IBM DB2 Object Restore Profile -------- 2008/11/15 16:42
| Command ===>
|
| User Recovery Generation Options
|
| Enter "/" to select option - * indicates recovery option not available
| Object Recovery: Bind Recovery: Privilege Recovery:
|
| Storage Groups Plans User Privileges
| Databases Packages System Privileges
| Table Spaces Database Privileges
| Tables Table Privileges
| Indexes View Privileges
| Aliases Collection Privileges
| Synonyms Plan Privileges
| Views Package Privileges
| Referential Integrity
| Distinct Types Additional Settings
| Triggers Point in Time Recovery
| Procedures Continue on SQL Warnings
| Sequences Generate Column Alter Adds
| Roles Exclude Trigger caused SQL
|
| Enter END comand to save changes and return to previous menu.
|
|
| Figure 23. User Recovery Generation Options panel
|
On this panel you use the backward slash (/) to select the DB2 objects and
privileges whose recovery information you want retained in the Versioning
Repository.
Important: If you select Storage groups, the DDL for storage groups other than
SYSDEFLT are automatically generated when you are recovering a
table space, database, or table regardless of whether the storage
groups have been dropped. You must turn off storage group generation
on this panel if the storage groups were not dropped, or the DDL will
fail.
The options on this panel are self-explanatory, with the exception of Referential
Integrity, Point in Time Recovery, Generate Column Alter Adds, and Exclude Trigger
caused SQL. These options are explained in the following sections.
Restriction:
v The Sequences option only applies to DB2 Version 8 NFM (New
Function Mode) and DB2 Version 9.
v The Roles option only applies to DB2 Version 9 NFM (New
Function Mode).
Referential integrity
DB2 Object Restore normally recovers all objects included in a cascading DB2
hierarchy, regardless of whether you selected Referential Integrity.
For example, if you drop a table space and then recover it, you will recover the
table space and any tables, indexes, views, synonyms, grants, and anything else
that was part of that table space. This is assuming that you selected all of those
objects and authorizations on the profile panel.
44 User’s Guide
If you select Referential Integrity on the profile panel, Object Restore generates the
DDL statements to recreate foreign keys for the tables you are restoring. This
allows you to recreate the referential integrity of the restored objects to other
objects that have not been dropped.
Important: DB2 Object Restore with Referential Integrity selected does not
generate the DDL to recreate objects outside of the cascading DB2
hierarchy. Under no circumstances will you restore tables from different
table spaces using the RI option--even if the tables are related
referentially.
The Point in Time Recovery option allows you to recover objects and their data up
to a specified point in time. This option is only available if you have IBM DB2 Log
Analysis Tool installed at your site. To determine the status of point in time recovery,
use the ABOUT primary command. To see how Object Restore and Log Analysis
Tool combine to provide the ability to recover to a point in time, see the Log
Analysis Tool interface information.
The Generate Column Alter Adds option allows you to recover foreign keys on
dropped tables that exist somewhere in the recovery set. This option is not for
recovering foreign keys on undropped tables.
| The Exclude Trigger caused SQL option controls what SQL is generated when
| using Log Analysis tool to generate SQL to restore the object to a point in time after
| the image copy. When selected, SQL that was the result of a trigger is not included
| in the SQL phase of object recovery. The default is unselected and all SQL is
| included.
DBRM Libraries:
DBRM Library 1 . . .
DBRM Library 2 . . .
DBRM Library 3 . . .
DBRM Library 4 . . .
DBRM Library 5 . . .
Notes: Do not use single quotes on library names. Library 1 will only
be used for packages. Library 1 - 5 will be used for plans.
On this panel you use the backward slash (/) to select the bind recovery options.
These options are explained following:
Generate Binds for DB2 Object Dependencies
Generates bind controls that are dependent on the objects being recovered.
Use Supplied DBRM Library
Indicates that Object Restore should use your DBRM library names in the
Plan LIBRARY bind control parameter. Type your DBRM library names in
the DBRM Libraries section of the Bind Recovery panel. If a package is
being bound, then only the first library specified is used; package binds
allow only one data set name.
Generate Related Package Binds
Generates package bind controls for packages that are bound to plans that
are being recovered.
Generate Related Plan Binds
Generates plan bind controls for plans that contain the package being
recovered.
Generate ACTION REPLACE
Generates a bind command with the ACTION(REPLACE) control statement.
Generate ACTION ADD
Generates a bind command with the ACTION(ADD) control statement.
DBRM Libraries
You can specify up to five DBRM libraries to be used when the Use
Supplied DBRM Library field is selected.
Note: Do not use single quotes on library names. Library 1 will only be
used for packages. Library 1 - 5 will be used for plans.
Repository options
DB2 Object Restore Versioning Repository options are discussed under
Customization.
46 User’s Guide
Product DB2 Setup
DB2 Object Restore product setup is discussed under Customization.
Object Restore creates the DDL that can be executed to restore the object on DB2.
The DDL, which is created from the versioning repositories of the DB2 catalogs,
recreates the object. Another function of this DDL is to copy the object from one
DB2 subsystem to another.
DB2 Object Restore can also generate JCL to recover table space and table data
from an image copy backups and UNLOAD utility backups. DB2 Object Restore can
recover a dropped table from the table space VSAM file if the table space has not
been updated after the table was dropped.
Note: Since DB2 Object Restore object recovery works through the same workflow
and series of panels, this document uses storage group recovery as the
example of workflow and process. All other sections of DB2 Object Restore
object recovery address only the differences from storage group recovery.
Refer to ″Storage group recovery″ to continue with the workflow for restoring
any object, substituting that object for storage group where applicable.
Topics:
v “Object list panels”
v “Storage Group Recovery” on page 50
v “Database recovery” on page 56
v “Table space recovery” on page 60
v “Table recovery” on page 62
v “Index recovery” on page 65
v “View recovery” on page 67
v “Synonym recovery” on page 70
v “Alias recovery” on page 71
v “Data type recovery” on page 73
v “Trigger recovery” on page 74
v “Function recovery” on page 76
v “Stored procedure recovery” on page 77
v “Sequence recovery” on page 77
v “Role recovery” on page 79
For many objects, DB2 Object Restore uses the ALTER timestamp when updating
the Versioning Repository. This permits Object Restore to recover any version of a
dropped object. These objects are:
v Storage Groups
v Databases
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 49
v Table Spaces
v Tables
v Indexes
v Views
v Synonyms
v Aliases
v Data Types
v Triggers
v Functions
v Stored Procedures
v Sequences
If an object has been altered, you will see multiple version of that object in the
object list. These multiple versions appear as not dropped, the DROPPED column
value is NO and appear in the normal color. If the object is dropped all versions are
flagged as dropped and appear in red.
|
|
| Name . . . . . . . *
| Display Dropped Only.N ( Y or N )
|
|
|
| Figure 25. Storage Group Like window
|
This message prompts you to enter a storage group, if known. Otherwise, you can
enter a few letters and the wildcard character (*) to conduct a search for the
storage group or press Enter to view all storage groups within the subsystem. The
default is all (*).
You can also indicate whether you want to display only dropped objects. If you
specify N you will see all objects that match your selection criteria. If you specify Y
you will see only objects that have been dropped.
The storage group name field will accept DBCS (Mixed) data values. The dropped
field only accepts SBCS EBCDIC Y and N.
If the DB2 subsystem version is 8 or higher the storage group input field allows
entry of a 128-character storage group name. Data scrolling within the data field is
allowed using the scroll right and left commands. An indicator is displayed to the
right of the input field to indicate the data field scroll status.
A list of the frequently used commands is displayed at the bottom of the panel. A
line command is entered in the command field of the target object version. After a
50 User’s Guide
line command has been processed (and the target line has not been removed from
the list) the target object line is displayed with the line command preceded with an
asterisk (*).
To view a list of all possible line commands that can be entered on this list along
with a description of the commands enter a ″?″ in the command field on any
storage group list line.
The line command field only accepts SBCS EBCDIC character values.
When you select an object to be dropped or recovered DB2 Object Restore may
display a confirmation window asking you to confirm the requested action.
When you enter an S for the Line Command next to a storage group, you are
specifying that you want Object Restore to generate the DDL required to restore the
object. If the selected object has been dropped, the DDL is generated immediately;
however, if the storage group has not been dropped, the following message
appears:
Once you type Y and press Enter, Object Restore generates the DDL and displays
it in the Generated DDL panel as shown below:
-- ********************************************************************
-- * *
-- * IBM DB2 Object Restore V2R1 *
-- * (C) Copyright IBM Corp./Rocket Software, 1999, 2003. *
-- * *
-- * DDL Generated on: 2003-10-15-17.14.17.467913 *
-- ********************************************************************
-- * *
-- * Objects Generated: *
-- * Stogroup [name] *
-- * *
-- ********************************************************************
-- ********************************************************************
-- * *
-- * Create Storage Group: [name] *
Use PF8 to scroll down to see the rest of the DDL. You can make any changes to
the DDL at this point before proceeding. When you are ready to continue, press
PF3. The Enter Execution Option windows displays as shown below:
Execution Options:
5 1. Execute DDL on DB2 Subsystem SS01
2. Execute DDL on DB2 Subsystem ____
3. Save DDL to file and exit
4. Return to DDL Display
5. Exit without executing DDL
This window provides you with five options for the generated DDL:
v Execute the DDL on the current subsystem (use this option only if the object was
dropped).
v Execute the DDL on another subsystem.
v Save the DDL to a file and exit.
v Return to the DDL Panel.
52 User’s Guide
v Exit without executing the DDL. This is the default.
Important: You can generate JCL for objects that have not been dropped without
the requirement to run the DDL for those objects, if you perform the
following steps first:
1. After the DDL is generated and displayed, type COMMENT ALL in
the command line. This command comments out all of the DDL.
2. You can run the DDL normally using options 1 or 2 from Execution
Options. The result is that the recovery JCL is generated without
the DDL actually building any objects.
Job Cards:
//JOBCARD JOB userid,CLASS=A,NOTIFY=&SYSUID
//*
//*
//*
2. Press Enter to save the Object Restore JCL. A message displays to confirm that
the JCL was saved.
3. Press End. Object Restore prompts you to save the DDL execution results.
4. Specify Y or N and press Enter.
5. Execute the data recovery JCL.
v The object data is recovered by the Object Restore-generated job steps.
v An SQL file is generated by the Log Analysis Tool-generated job steps.
6. You must then execute the table update SQL by using Log Analysis Tool or a
DB2 SQL execution utility of your choice (for example, SPUFI, QMF,
DSNTEP2).
If you select Option 3, Save DDL to a file and exit, the following window appears:
Enter a valid data set name and press Enter. This saves the generated DDL in the
data set that you specified.
When you enter a D for the Line Command next to a storage group, you are
specifying that you want Object Restore to generate the DDL required to drop the
object. After pressing Enter, the following message appears:
Name: stogroup
Once you type Y and press Enter, Object Restore generates the DDL and displays
it in the Generated DDL panel as shown previously. Using PF3 to exit, the
Execution Options panel displays as shown previously.
This window provides you with five options for the generated DDL:
v Execute the DDL on the current subsystem.
v Execute the DDL on another subsystem.
v Save the DDL to a file and exit.
v Return to the DDL Display.
v Exit without executing the DDL. This is the default.
If you select Option 3, Save DDL to a file and exit, the following window appears:
Enter a valid data set name and press Enter. This saves the generated DDL in the
data set that you specified.
After pressing Enter, the Storage Groups panel opens, as shown below.
54 User’s Guide
| DB2 OR V2R1 ------------ SS1A Storage Groups ------------ Row 1 of 76
| Command ===> Scroll ===> PAGE
| ------------------------------------------------------------------------- +>
|
| Storage Group . . . *
| Display Dropped Only.N
|
| -------------------------------------------------------------------------------
|
| Cmd Group Creator VCATName Dropped Created
| CJBSG201 PDUSER SS01 NO 2002-11-01-16.50.50.449313
| CQMSAMPG PDUSER SS01 REC 2003-10-21-12.24.01.194337
| CQMSAMPG PDUSER SS01 YES 2003-08-13-14.02.18.925051
| CQMSAMPG PDUSER SS01 YES 2003-07-15-16.33.32.714793
| CQMSAMPG PDUSER SS01 YES 2003-04-28-12.35.49.741584
| CQMSG001 PDUSER SS01 NO 2001-10-18-11.27.10.050213
| CSEDGA PDUSER SS01 NO 2003-07-08-16.35.45.405068
| CSFENNSG PDUSER SS01 NO 2001-10-11-10.07.06.886631
| CSSULLG PDUSER SS01 NO 2001-11-16-09.44.07.449055
| DB2T PDUSER SS01 NO 2002-05-31-17.22.03.200231
|
| Line Commands: (Select group, Drop group, ? Help)
|
|
|
| Figure 33. Storage Groups panel
|
Fields
The filter fields work the same way as the Storage Group Like filter window fields.
The input fields can be used to expand or contract the scope of objects displayed in
the list. The wild card character (*) can be used.
If the DB2 subsystem version is 8 or higher the storage group input field appears
larger and allows entry of a 128-character storage group name. Data scrolling within
the data field is allowed using the scroll right and left commands. An indicator is
displayed to the right of the input field to indicate the data field scroll status. The
storage group name data entry field can be expanded to view or edit all 128
characters by typing EXPAND on the option line, placing the cursor on the storage
group name field, and pressing Enter.
Columns
Input column fields like the command line column (Cmd) are displayed in the color
red and underscored. Fixed length columns are displayed with a heading text
colored white. Columns that have adjustable display lengths are displayed with
column heading text colored yellow. The column display can be scrolled left and
right. The columns are discussed following:
Database recovery
Select option D from the DB2 Object Restore menu. You are prompted with the
Enter Database Like window to identify the database with which you want to work.
|
|
| Name Like . . . . . *
| Display Dropped Only.N ( Y or N )
|
||
| Figure 34. Databases Like window
|
| This window prompts you to enter a database, if known. Otherwise, you can enter a
| few letters and the wildcard character (*) to conduct a search for the database or
| press Enter to view all databases within the subsystem. The default is all (*).
| You can also indicate whether you want to display only dropped objects. If you
| specify N you will see all objects that match your selection criteria. If you specify Y
| you will see only objects that have been dropped.
| The database name field will accept DBCS (Mixed) data values. The dropped field
| only accepts SBCS EBCDIC Y and N.
| For all versions of DB2 the database input field will only allow entry of an
| 8-character database name.
56 User’s Guide
After pressing Enter, the Databases panel opens, as shown below:
Name . . . . . . . *
Display Dropped Only.N
-------------------------------------------------------------------------------
Cmd Database Creator DBID Dropped Stogroup Bufferpl ROSHARE Type Member
ADBDCH ADB 00332 NO SYSDEFLT BP0
ALIASDB1 PDUSER 00268 NO SYSDEFLT BP0
ANLDBASE PDUSER 00295 NO SYSDEFLT BP0
AUOALADB PDUSER 00383 REC SYSDEFLT BP0
AUOALADB PDUSER 00383 YES SYSDEFLT BP0
AUOVRCAT PDUSER 00359 NO SYSDEFLT BP0
BCTDB PDUSER 00340 NO SYSDEFLT BP0
BJTQBASE PDUSER 00291 NO SYSDEFLT BP0
CARLATST PDUSER 00288 NO SYSDEFLT BP0
CC390 PDUSER 00304 REC SYSDEFLT BP0
Filter fields
The filter fields work the same way as the Database Like filter window fields. The
input fields can be used to expand or contract the scope of objects displayed in the
list. The wild card character can be used. For all versions of DB2 the database
input field will only allow entry of a maximum of 8 characters.
Columns
Input column fields like the command line column (Cmd) are displayed in the color
red and underscored. Fixed length columns are displayed with a heading text
colored white. Columns that have adjustable display lengths are displayed with
column heading text colored yellow. The column display can be scrolled left and
right.
Line Commands
A list of the frequently used commands is displayed at the bottom of the panel. A
line command is entered in the command field of the target object version. After a
line command has been processed (and the target line has not been removed from
the list) the target object line is displayed with the line command preceded with an
asterisk (*).
To view a list of all possible line commands that can be entered on this list along
with a description of the commands enter a ? in the command field on any
database list line.
The line command field only accepts SBCS EBCDIC character values.
58 User’s Guide
L List the structure of the selected database.
? Display list of valid line commands.
When you select an object to be dropped or recovered DB2 Object Restore may
display a confirmation window asking you to confirm the requested action.
When you enter an L for the Line Command next to a database, the Database
Structure panel appears:
Name...: ADBDCH
Version: 2002-11-20-14.12.26.708845
-------------------------------------------------------------------------------
OBID/
Cmd Type Object Owner Vers DBID PSID ISOBID
D ADBDCH ADB 1 332 0 0
S ADBSCH ADB 1 332 2 1
T ADBCHKPT ADB 1 332 0 3
I ADBCKPTX ADB 1 332 0 1
***************************** Bottom of Data **********************************
The Database Structure panel displays the structure of the selected database,
identifying the D2 objects related to and contained in the database. This panel also
includes the following information:
Attention: Since DB2 Object Restore object recovery works through the same
workflow and series of panels, this document uses storage group recovery as the
example of workflow and process. All other sections of DB2 Object Restore object
recovery address only the differences from storage group recovery. Refer to storage
group recovery documentation to continue with the workflow for restoring a
database, substituting database for storage group where applicable.
|
|
| Name Like . . . . . *
| Database Like . . . *
| Display Dropped Only.N ( Y or N )
|
||
| Figure 37. Table Spaces Like window
|
| This message prompts you to enter a table space and a database, if known.
| Otherwise, you can enter a few letters and the wildcard character (*) to conduct a
| search for them or press Enter to view all table spaces and databases within the
60 User’s Guide
| subsystem. The default is all (*). You can also indicate whether you want to display
| only dropped objects. If you specify N you will see all objects that match your
| selection criteria. If you specify Y you will see only objects that have been dropped.
| Note: Since DB2 Object Restore object recovery works through the same workflow
| and series of panels, this document uses storage group recovery as the
| example of workflow and process. All other sections of DB2 Object Restore
| object recovery address only the differences from storage group recovery.
| Refer to the storage group documentation to continue with the workflow for
| restoring a table space, substituting table space for storage group where
| applicable.
Name . . . . . . . *
Database . . . . . *
Display Dropped Only.N
-------------------------------------------------------------------------------
Cmd Name Creator Dropped I LOB Database DBID OBID PSID Tables Parts
A PDUSER NO Y NO DSNDB04 00004 00463 00464 000001 000
ABCD PDUSER NO Y NO DSNDB04 00004 00422 00423 000001 000
ABCDEFGH ABCDN NO Y NO DSNDB04 00004 00001 00002 000001 000
ACCTSNTS PDUSER NO N NO SCDM00DB 00320 00001 00002 000001 000
ACCTSNTS PDUSER NO N NO SOPLANTS 00321 00001 00002 000000 000
ADBSCH ADB NO N NO ADBDCH 00332 00001 00002 000001 000
ALIASTS1 PDUSER NO N NO ALIASDB1 00268 00001 00002 000001 000
ALMA ALMA NO Y NO DSNDB04 00004 00076 00077 000001 000
ANLSPACE PDUSER NO N NO ANLDBASE 00295 00001 00002 000021 000
Line Commands: (Select table space, Drop table space, Tables, ? Help)
Columns
Line Commands
There are three valid line commands that you can enter on the Cmd line to the left
of a table space on the Tablespaces panel. Two of the commands, Select and Drop,
are the same as the storage group commands discussed thus far. The line
command unique to table spaces is discussed below:
Tables
Type T, then press Enter to display a list of tables for the selected table
space version. See the Tables documentation for a description of the table
display panel.
Table recovery
Select option T from the DB2 Object Restore menu. You are prompted with the
Enter Table Like window to identify the table with which you want to work.
|
|
| Databases Like . . . *
| Table Spaces Like . . *
| Name Like . . . . . . *
| Creator Like . . . . *
| Display Dropped Only. N ( Y or N )
|
||
| Figure 39. Tables Like window
|
| This message prompts you to enter a database, table space, table, and creator, if
| known. Otherwise, you can enter a few letters and the wildcard character (*) to
| conduct a search for them or press Enter to view all tables within the subsystem.
62 User’s Guide
| The default is all (*). You can also indicate whether you want to display only
| dropped objects. If you specify N you will see all objects that match your selection
| criteria. If you specify Y you will see only objects that have been dropped.
Creator . . . . . . *
Name . . . . . . . *
Database . . . . . * Table space . . *
Display Dropped Only.N
-------------------------------------------------------------------------------
Line Commands: (Select, Drop, Aliases, sYnonyms, Indexes, Views, Edit, ? Help)
Columns
Line Commands
There are eight valid line commands that you can enter on the Cmd line to the left
of a table on the Tables panel. Two of the commands, Select and Drop, are the
same as the storage group commands discussed thus far. The line commands
unique to tables are discussed below:
Aliases
Type A, then press Enter to display the aliases belonging to that version of
the table.
Synonyms
Type Y, then press Enter to display the synonyms belonging to that version
of the table.
Indexes
Type I, then press Enter to display the indexes belonging to that version of
the table.
Views Type V, then press Enter to display the views belonging to that version of
the table.
Edit Type E, then press Enter to access the table editor. This line command can
only be used on tables that are not dropped. If the table edit option is not
activated a message will be displayed.
Column
Type C, then press Enter to display a list of columns in the selected table.
Table Columns
When you enter a C for the Line Command next to a table, the Table Column List
appears:
64 User’s Guide
DB2 OR V2R1 ------------ SS01 Table Columns ------------ Row 1 of 1
Command ===> Scroll ===> PAGE
------------------------------------------------------------------------- >
Creator: PDUSER
Name...: A
Version: 2003-06-24-10.35.46.817284
Cmd * Name Col No Col Type Length Scale Null Def KeySeq
COLUMN_1 1 CHAR 10 0 N N 0
***************************** Bottom of Data **********************************
The Table Column List panel displays the columns of the selected table. There are
no valid commands for this panel. This panel also includes the following
information:
Name The column name.
Col No
The column number.
Col Type
The column type.
Length
The column length.
Scale Identifies the number of digits after the decimal point.
Null Identifies whether the column can contain nulls.
Def The column default indicator.
KeySeq
Identifies the column’s numeric position within the table’s primary key.
Created Timestamp
The time when the CREATE statement was executed.
Index recovery
Select option 5 from the DB2 Object Restore menu. You are prompted with the
Enter Indexes Like window to identify the index with which you want to work.
Creator . . . . . . *
Name . . . . . . . *
Display Dropped Only.N
-------------------------------------------------------------------------------
Columns
66 User’s Guide
v A value of REC indicates that the index exists in the DB2 system catalog.
The new object version has not been recorded in DB2 Object Restore
Versioning Repository.
Table name
The name of the table associated with the index.
TBOWNER
The ID of the system or person that owns the table associated with the
index.
DBID The database identifier. If there were 32511 databases or more when this
database was created, the DBID is a negative number.
OBID Data object identifier.
Created Timestamp
The time when the CREATE statement was executed.
Altered Timestamp
The time when the last ALTER statement was executed. This timestamp is
used by DB2 Object Restore to track the object versions.
Note: Since DB2 Object Restore object recovery works through the same workflow
and series of panels, this document uses storage group recovery as the
example of workflow and process. All other sections of DB2 Object Restore
object recovery address only the differences from storage group recovery.
View recovery
Select option V from the DB2 Object Restore menu. You are prompted with the
Enter View Like window to identify the view with which you want to work.
|
|
| Name Like . . . . . *
| Creator Like . . . *
| Display Dropped Only.N ( Y or N )
|
||
| Figure 44. Views Like window
|
| This message prompts you to enter a view and a creator, if known. Otherwise, you
| can enter a few letters and the wildcard character (*) to conduct a search for them
| or press Enter to view all views and creators within the subsystem. The default is all
| (*). You can also indicate whether you want to display only dropped objects. If you
| specify N you will see all objects that match your selection criteria. If you specify Y
| you will see only objects that have been dropped.
Creator . . . . . . *
Name . . . . . . . *
Display Dropped Only.N
-------------------------------------------------------------------------------
Line Commands: (Select view, Drop view, View dependencies, Columns, ? Help)
Columns
Line Commands
There are four valid line commands that you can enter on the Cmd line to the left of
a view on the Views panel. Two of the commands, Select and Drop, are the same
as the storage group commands discussed thus far.The line commands unique to
views are discussed below:
View dependencies
Type V, then press Enter to display the tables and views on which the
selected view is dependent.
68 User’s Guide
Columns
Type C, then press Enter to display a list of columns on which the selected
view is dependent.
View Dependencies
When you enter a V for the Line Command next to a view, the View Dependencies
panel appears:
Creator: RDBI
Name...: AUTHID_VIEW
Version: 2001-10-22-11.27.48.240201
This panel displays the DB2 objects that are dependent upon the view that you
selected. You can continue to use the V line command to list further dependencies
if they exist. This panel also includes the following information:
Name The name of the object.
Creator
The ID of the person who created the object.
Type Identifies the type of DB2 object.
Dropped
Indicates whether the object was dropped from this subsystem.
v A value of YES indicates that the object does not exist in DB2 system
catalog.
v A value of NO indicates that the object is still cataloged.
v A value of REC indicates that the object exists in the DB2 system
catalog. The new object version has not been recorded in DB2 Object
Restore Versioning Repository.
Created Timestamp
The time when the CREATE statement was executed.
Altered Timestamp
The time when the last ALTER statement was executed. This timestamp is
used by DB2 Object Restore to track the object versions.
Remember: Since DB2 Object Restore object recovery works through the same
workflow and series of panels, this document uses storage group
Chapter 5. Object recovery 69
recovery as the example of workflow and process. All other sections of
DB2 Object Restore object recovery address only the differences from
storage group recovery.
Synonym recovery
Select option Y from the DB2 Object Restore menu. You are prompted with the
Enter Synonym Like window to identify the synonym with which you want to work.
|
|
| Name Like *
| Creator Like *
| Display Dropped Only.N ( Y or N )
|
|
|
| Figure 47. Synonyms Like window
|
| This message prompts you to enter a synonym and a creator, if known. Otherwise,
| you can enter a few letters and the wildcard character (*) to conduct a search for
| them or press Enter to view all synonyms and creators within the subsystem. The
| default is all (*). You can also indicate whether you want to display only dropped
| objects. If you specify N you will see all objects that match your selection criteria. If
| you specify Y you will see only objects that have been dropped.
Creator . . . . . . *
Name . . . . . . . *
Display Dropped Only.N
-------------------------------------------------------------------------------
Columns
70 User’s Guide
Creator
The ID of the person who created the synonym.
Dropped
Indicates whether the synonym was dropped from this subsystem.
v A value of YES indicates that the synonym does not exist in DB2 system
catalog.
v A value of NO indicates that the synonym is still cataloged.
v A value of REC indicates that the synonym exists in the DB2 system
catalog. The new object version has not been recorded in DB2 Object
Restore Versioning Repository.
Table Name
The name of the table associated with the synonym.
TBOwner
The ID of the system or person that owns the table associated with the
synonym.
Created Timestamp
The time when the CREATE statement was executed.
Remember: Since DB2 Object Restore object recovery works through the same
workflow and series of panels, this document uses storage group
recovery as the example of workflow and process. All other sections of
DB2 Object Restore object recovery address only the differences from
storage group recovery.
Alias recovery
Select option A from the DB2 Object Restore menu. You are prompted with the
Enter Alias Like window to identify the alias with which you want to work.
|
|
| Name Like . . . . . . *
| Creator Like . . . . *
| Display Dropped Only. N ( Y or N )
|
||
| Figure 49. Aliases Like window
|
| This message prompts you to enter an alias and a creator, if known. Otherwise, you
| can enter a few letters and the wildcard character (*) to conduct a search for them
| or press Enter to view all aliases and creators within the subsystem. The default is
| all (*). You can also indicate whether you want to display only dropped objects. If
| you specify N you will see all objects that match your selection criteria. If you
| specify Y you will see only objects that have been dropped.
Creator . . . . . . *
Name . . . . . . . *
Display Dropped Only.N
-------------------------------------------------------------------------------
Columns
Attention: Since DB2 Object Restore object recovery works through the same
workflow and series of panels, this document uses storage group recovery as the
example of workflow and process. All other sections of DB2 Object Restore object
recovery address only the differences from storage group recovery.
72 User’s Guide
Data type recovery
Select option E from the DB2 Object Restore menu. You are prompted with the
Enter Distinct Types Like window to identify the data types with which you want to
work.
|
|
| Name Like . . . . . *
| Schema Like . . . . *
| Display Dropped Only.N ( Y or N )
|
|
|
| Figure 51. Types Like window
|
| This message prompts you to enter a type, if known. Otherwise, you can enter a
| few letters and the wildcard character (*) to conduct a search for them or press
| Enter to view all types within the subsystem. The default is all (*). You can also
| indicate whether you want to display only dropped objects. If you specify N you will
| see all objects that match your selection criteria. If you specify Y you will see only
| objects that have been dropped.
After pressing Enter, the Distinct Types panel opens, as shown below:
Schema . . . . . . *
Name . . . . . . . *
Display Dropped Only.N
-------------------------------------------------------------------------------
Columns
The columns on the Distinct Types panel are discussed following:
Name The name of the distinct type.
Creator
The ID of the person who created the type.
Attention: Since DB2 Object Restore object recovery works through the same
workflow and series of panels, this document uses storage group recovery as the
example of workflow and process. All other sections of DB2 Object Restore object
recovery address only the differences from storage group recovery.
Trigger recovery
Select option J from the DB2 Object Restore menu. You are prompted with the
Enter Triggers Like window to identify the triggers with which you want to work.
|
|
| Name Like . . . . . *
| Owner Like . . . . *
| Tables Like . . . . *
| Creator Like . . . *
| Display Dropped Only.N ( Y or N )
|
||
| Figure 53. Triggers Like window
|
| This message prompts you to enter a trigger, if known. Otherwise, you can enter a
| few letters and the wildcard character (*) to conduct a search for them or press
| Enter to view all triggers within the subsystem. The default is all (*). You can also
| indicate whether you want to display only dropped objects. If you specify N you will
| see all objects that match your selection criteria. If you specify Y you will see only
| objects that have been dropped.
74 User’s Guide
Work with triggers
Describes the Triggers panel.
Owner . . . . . . . *
Name . . . . . . . *
Table Creator . . . * Table Name . . *
Display Dropped Only.N
-------------------------------------------------------------------------------
Columns
Attention: Since DB2 Object Restore object recovery works through the same
workflow and series of panels, this document uses storage group recovery as the
example of workflow and process. All other sections of DB2 Object Restore object
recovery address only the differences from storage group recovery.
|
|
| Name Like . . . . . .*
| Schema Like . . . . .*
| Owner Like . . . . .*
| Routine Type . . . .
| Display Dropped Only.N ( Y or N )
|
|
|
| Figure 55. Routine Like window
|
| This message prompts you to enter a routine or a schema, if known. Otherwise,
| you can enter a few letters and the wildcard character (*) to conduct a search for
| them or press Enter to view all routines within the subsystem. The default is all (*).
| You can also indicate whether you want to display only dropped objects. If you
| specify N you will see all objects that match your selection criteria. If you specify Y
| you will see only objects that have been dropped.
Name . . . . . . . *
Schema . . . . . . *
Owner . . . . . . . *
Display Dropped Only.N
-------------------------------------------------------------------------------
Columns
76 User’s Guide
Type The type of routine.
Dropped
Indicates whether the routine was dropped from this subsystem.
v A value of YES indicates that the routine does not exist in DB2 system
catalog.
v A value of NO indicates that the routine is still cataloged.
v A value of REC indicates that the routine exists in the DB2 system
catalog. The new object version has not been recorded in DB2 Object
Restore Versioning Repository.
Created Timestamp
The time when the CREATE statement was executed.
Altered Timestamp
The time when the last ALTER statement was executed. This timestamp is
used by DB2 Object Restore to track the object versions.
Attention: Since DB2 Object Restore object recovery works through the same
workflow and series of panels, this document uses storage group recovery as the
example of workflow and process. All other sections of DB2 Object Restore object
recovery address only the differences from storage group recovery.
|
|
| Name Like . . . . . *
| Schema Like . . . . *
| Owner Like . . . . *
| Routine Type . . .
| Display Dropped Only.N ( Y or N )
||
| Figure 57. Routine Like window
|
| This message prompts you to enter a routine or a schema, if known. Otherwise,
| you can enter a few letters and the wildcard character (*) to conduct a search for
| them or press Enter to view all routines within the subsystem. The default is all (*).
| You can also indicate whether you want to display only dropped objects. If you
| specify N you will see all objects that match your selection criteria. If you specify Y
| you will see only objects that have been dropped.
Sequence recovery
Select option Q from the DB2 Object Restore menu. You are prompted with the
Enter Sequence Like window to identify the sequence with which you want to work.
| The sequence name field will accept DBCS (Mixed) data values. The dropped field
| only accepts SBCS EBCDIC Y and N.
| For all versions of DB2 the sequence input field will only allow entry of an
| 8-character name.
Grantor . . . . . . Grantee . .
Schema . . . . . . Name . . .
Display Dropped Only.
-------------------------------------------------------------------------------
Filter fields
The filter fields work the same way as the Sequences Like filter window fields. The
input fields can be used to expand or contract the scope of objects displayed in the
list. The wild card character can be used. For all versions of DB2 the database
input field will only allow entry of a maximum of 8 characters.
78 User’s Guide
Columns
Input column fields like the command line column (Cmd) are displayed in the color
red and underscored. Fixed length columns are displayed with a heading text
colored white. Columns that have adjustable display lengths are displayed with
column heading text colored yellow. The column display can be scrolled left and
right.
Line Commands
A list of the frequently used commands is displayed at the bottom of the panel. A
line command is entered in the command field of the target object version. After a
line command has been processed (and the target line has not been removed from
the list) the target object line is displayed with the line command preceded with an
asterisk (*).
To view a list of all possible line commands that can be entered on this list along
with a description of the commands enter a ? in the command field on any
database list line.
The line command field only accepts SBCS EBCDIC character values.
When you select an object to be dropped or recovered DB2 Object Restore may
display a confirmation window asking you to confirm the requested action.
Attention: Since DB2 Object Restore object recovery works through the same
workflow and series of panels, this document uses storage group recovery as the
example of workflow and process. All other sections of DB2 Object Restore object
recovery address only the differences from storage group recovery.
Role recovery
Select option B from the DB2 Object Restore menu. You are prompted with the
Enter Role Like window to identify the role with which you want to work.
|
|
| Name Like . . . . . *
| Creator Like . . . *
| Display Dropped Only.N ( Y or N )
|
||
| Figure 60. Role Like window
|
| This message prompts you to enter a role and a creator, if known. Otherwise, you
| can enter a few letters and the wildcard character (*) to conduct a search for them
| or press Enter to view all roles and creators within the subsystem. The default is all
| (*). You can also indicate whether you want to display only dropped objects. If you
| specify N you will see all objects that match your selection criteria. If you specify Y
| you will see only objects that have been dropped.
Definer . . . . . . *
Name . . . . . . . *
Display Dropped Only.N
-------------------------------------------------------------------------------
Columns
Attention: Since DB2 Object Restore object recovery works through the same
workflow and series of panels, this document uses storage group recovery as the
example of workflow and process. All other sections of DB2 Object Restore object
recovery address only the differences from storage group recovery.
80 User’s Guide
Chapter 6. Bind recovery
You can use DB2 Object Restore to recover the binds for plans, packages, and
collections that have been dropped (deleted) or to generate those binds for
propagation to another subsystem.
Topics:
v “Plan bind recovery”
v “Package bind recovery” on page 87
v “Collection bind recovery” on page 90
Name Like . . . *
Creator Like . . *
This message prompts you to enter a plan and creator, if known. Otherwise, you
can enter a few letters and the wildcard character (*) to conduct a search for them
or press Enter to view all plans and creators within the subsystem. The default is all
(*).
Package list
When you enter a P for the Line Command next to a plan, Object Restore displays
the packages that are in the selected plan. The Package List panel appears:
This panel conveys the following information:
DB2 OR V2R1 ------------- SS01 Package List ------------- Row 1 of 2
Command ===> Scroll ===> PAGE
-------------------------------------------------------------------------
Creator: PDUSER
Plan...: ADBTEPA
-------------------------------------------------------------------------------
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 81
Plan The name of the plan to which the package is attached.
SeqNo
The sequence number of the package.
Location
The location of the package.
Collection
The name of the collection to which the package belongs.
Name The name of the package.
Timestamp
The time at which the plan was bound to the package.
DBRM list
When you enter a B for the Line Command next to a plan, Object Restore displays
the DBRMs that are bound to the selected plan. The Plan DBRM List panel
appears:
This panel conveys the following information:
DB2 OR V2R1 ------------ SS01 Plan DBRM List ------------ No rows to display
Command ===> Scroll ===> PAGE
-------------------------------------------------------------------------
-------------------------------------------------------------------------------
Q C H C M 3
Cmd Name Creator PL Name T O L S X 1 Timestmp
82 User’s Guide
Work with plans
Describes the Plan Bind panel.
Creator . . *
Name . . . *
-------------------------------------------------------------------------------
Fields
Columns
Plan dependencies
When you enter a D for the Line Command next to a plan, Object Restore displays
the DB2 objects that are dependent upon the selected plan. The Plan
Dependencies panel appears:
This panel conveys the following information:
DB2 OR V2R1 ----------- SS01 Plan Dependencies ---------- Row 1 of 5
Command ===> Scroll ===> PAGE
-------------------------------------------------------------------------
PL Name
The name of the object.
Creator
The ID of the person who created the object.
Type The type of DB2 object.
84 User’s Guide
Plan Line Command Options
There are four valid line command options that you can enter on the Cmd line to
the left of a plan name on the Plans panel.
Select plan
Type S, then press Enter to create the bind controls that can be used to
restore the bind on the DB2 subsystem.
Dependencies
Type D, then press Enter to view the dependencies for the selected plan.
Package list
Type P, then press Enter to view the package list for the selected plan.
Bound DBRM list
Type B, then press Enter to view the list of DBRMs bound to the plan.
Select plan
When you enter an S for the Line Command next to a plan, you are specifying that
you want Object Restore to generate the bind controls required to restore the bind.
Object Restore generates the control statements and displays them in the
Generated Bind Controls panel as shown below:
-- ********************************************************************
-- * *
-- * IBM DB2 Object Restore *
-- * (C) Copyright IBM Corp./Rocket Software, 1999, 2002. *
-- * *
-- * Binds Generated on: 2003-10-31-12.47.34.259360 *
-- ********************************************************************
********************************************************************
-- * *
-- * Plan: [planname] *
-- * *
-- ********************************************************************
Use PF8 to scroll down to see the rest of the bind control cards. You can make any
changes to them at this point before proceeding. When you are ready to continue,
press PF3. The Enter Execution Option windows displays as shown below:
This window provides you with five options for the generated DDL:
v Generate the JCL for the current subsystem (use this option only if the object
was dropped).
v Execute the Bind on another subsystem.
v Save the Bind statements to a file and exit.
v Return to the Bind Control Display.
v Exit without executing the Binds. This is the default.
If you select Option 1, which generates the JCL for the specified subsystem, the
Generate Bind Job to a File window appears:
On this panel, you must enter the following information:
Job Cards:
//JOBCARD JOB
//*
//*
//*
v A valid data set name (and member name if the data set is a PDS).
v A valid job card for your site.
You can also specify if you want to edit the generated JCL before saving it. Press
Enter to proceed.
If you select Option 2, which executes the bind for the specified subsystem, the
bind is executed on the specified subsystem.
If you select Option 3, which saves the bind statements to a file and then exits, the
Save Statements to a File window appears:
86 User’s Guide
Save in DSN ... _______________________________________
Member. ________ (Required if DSN is a PDS)
On this panel, you must enter a valid data set name (and member name if the data
set is a PDS).
Exit
If you select Option 5, which exits without saving, the Plan Bind panel appears.
Location Like . . . *
Collection Like . . *
Name Like . . . . . *
This message prompts you to enter a location, collection, and a package, if known.
Otherwise, you can enter a few letters and the wildcard character (*) to conduct a
search for them or press Enter to view all locations, collections, and packages
within the subsystem. The default is all (*).
Location . . . *
Collection . . *
Name . . . . . *
-------------------------------------------------------------------------------
Fields
Columns
88 User’s Guide
Bound Timestamp
A seven-part value that consists of a date and time expressed in years,
months, days, hours, minutes, seconds and microseconds. The date and
time at which the package was bound is captured automatically.
Select package
The process and panels for the select package process are the same as those
used for a plan. Refer to those to continue with the workflow for restoring package
binds, substituting package for plan where applicable.
Package dependencies
Plan list
When you enter a P for the Line Command next to a package, Object Restore
displays the plans that have bound the package that you selected. The Plan List
panel appears:
Location..:
Collection: ADBL
Package...:
This message prompts you to enter a collection, if known. Otherwise, you can enter
a few letters and the wildcard character (*) to conduct a search for them or press
Enter to view all collections within the subsystem. The default is all (*).
90 User’s Guide
DB2 OR V2R1 -------------- SS01 Collections ------------- Row 1 of 293
Command ===> Scroll ===> PAGE
------------------------------------------------------------------------- +
Name . . *
------------------------------------------------------------------------------
Fields
Columns
Generate Bind
The process and panels used to generate collection bind controls are the same as
those used for a plan. Refer to plan documentation to continue with the workflow for
restoring collection binds, substituting collection for plan where applicable.
The panels and commands used to display the package list were discussed
previously in the Bind recovery documentation.
Plan list
The panels and commands used to display the package list were discussed
previously in the Bind recovery documentation..
92 User’s Guide
Chapter 7. Privilege recovery
You can use DB2 Object Restore to recover use privileges, system privileges, plan
privileges, and package privileges. You can also use Object Restore to revoke, or
drop, those same privileges.
Topics:
v “DB2 resources”
v “User privileges recovery” on page 96
v “Plan privileges recovery” on page 99
v “Package privileges recovery” on page 100
DB2 resources
Follow thes steps to determine the available DB2 resources.
Select option RA from the DB2 Object Restore main menu. You are prompted with
the Enter User Like window to identify the user with whom you want to work.
This message prompts you to enter a grantee (user), type, and resource, if known.
|
| Grantor Like . . . *
| Grantee Like . . . *
| Type Like . . . . . *
| Resource Like . . . *
| Display Dropped Only.N ( Y or N )
|
|
| Figure 76. User Like window
|
Otherwise, you can enter a few letters and the wildcard character (*) to conduct a
search for them or press Enter to view all users, types, and resources within the
subsystem. The default is all (*). You can also indicate whether you want to display
only dropped objects. If you specify N you will see all objects that match your
selection criteria. If you specify Y you will see only objects that have been dropped.
After pressing Enter, the Resource Privileges panel opens. This panel distinguishes
dropped and undropped use privileges by color as well as using the Dropped
column. Dropped privileges display in red; whereas, undropped privileges display as
normal, typically aqua. Additionally, privileges that have been previously dropped,
and subsequently restored appear in yellow because the privileges’ version no
longer matches the version of its related objects.
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 93
| DB2 OR V2R1 ---------- SS01 Resource Privileges --------- Row 1 of 18
| Command ===> Scroll ===> PAGE
| ------------------------------------------------------------------------- +>
|
| Grantor . . . . . . * Grantee . . *
| Name . . . . . . . * Type . . *
| Display Dropped Only.N
|
| -------------------------------------------------------------------------------
|
| Cmd User Grantee Grantor Dropped Qual Name
| PDUSERA PDUSER NO SYSDEFLT Storage
| PDUSERA PDUSER NO DGOOM710 Collecti
| PDUSERA PDUSER NO BP0 Buffer P
| PDUSERA PDUSER NO BP1 Buffer P
| PDUSERA PDUSER NO BP16K0 Buffer P
| PDUSERA PDUSER NO BP2 Buffer P
| PDUSERA PDUSER NO BP3 Buffer P
| PDUSERA PDUSER NO BP32K Buffer P
| PDUSERA PDUSER NO BP4 Buffer P
|
| Line Commands: (Select resource, Revoke privilege, ? Help)
|
|
|
| Figure 77. Resource Privileges panel
|
Fields
Columns
94 User’s Guide
Grantor
The ID of the person who granted the use privileges.
Dropped
Indicates whether the use privileges have been revoked on this subsystem.
v A value of YES indicates that the privileges do not exist in DB2 system
catalog.
v A value of NO indicates that the privileges are still cataloged.
v A value of REC indicates that the privileges exist in the DB2 system
catalog. The new object version has not been recorded in DB2 Object
Restore Versioning Repository.
Database
The name of the database on which the user has privileges.
Object
The name of the object on which the user has privileges.
Type The type of object. Valid types are:
v Buffer Pool
v Collection
v Storage Group
v Table Space
Authority
Identifies the authority granted. Valid types are:
v Use
v PackAdm
v Create In
Privilege
Identifies the privilege that the user holds.
Granted Timestamp
A seven-part value that consists of a date and time expressed in years,
months, days, hours, minutes, seconds, and microseconds. The date and
time at which the use privilege was granted is captured automatically.
When you enter an S for the Line Command next to a user, you are specifying that
you want Object Restore to generate the DDL required to restore the use privilege.
If the selected privilege has been revoked, the DDL is generated immediately;
however, if the use privilege has not been revoked, the following message appears:
Once you type Y and press Enter, Object Restore generates the DDL and displays
it in the Generated DDL panel as discussed previously.
Revoke privilege
When you enter an R for the Line Command next to a user, you are specifying that
you want Object Restore to generate the DDL required to revoke the use privilege.
After pressing Enter, the following message appears:
Grantee: grantee
Name...:
Once you type Y and press Enter, Object Restore generates the DDL and displays
it in the Generated DDL panel as discussed previously.
|
|
| Grantor . . . . . . *
| Grantee . . . . . . *
| Display Dropped Only.N ( Y or N )
|
||
| Figure 80. User Like window
|
| This message prompts you to enter a grantor or grantee (user), if known.
| Otherwise, you can enter a few letters and the wildcard character (*) to conduct a
| search for the user or press Enter to view all users within the subsystem. The
| default is all (*). You can also indicate whether you want to display only dropped
| objects. If you specify N you will see all objects that match your selection criteria. If
| you specify Y you will see only objects that have been dropped.
96 User’s Guide
Working with user privileges
Describes the System Privileges panel.
Grantor . . . . . . *
Grantee . . . . . . *
Display Dropped Only.N
-------------------------------------------------------------------------------
A B B CREATE... D M M R S S S S S
R N N A S O O E T T Y Y Y T
C D D B L M P N N C P O S S S R
H A A S I D D T L T T V A S A C O A
I D G D A B B S A A R R E L P D T P C
Cmd Grantee Grantor Dropped V D N S S A C G B Y 1 2 R L C M L R E
PDUSER PDUSER NO Y
PDUSER PDUSER NO Y
PDUSER PDUSER NO G
PDUSER PDUSER NO G
Columns
The columns on the Drop System Privilege Restore panel are discussed following:
Grantee
The name of the user or resource.
Grantor
The ID of the person who granted the system privileges.
Dropped
Indicates whether the system privileges have been revoked on this
subsystem.
v A value of YES indicates that the system privileges do not exist in DB2
system catalog.
v A value of NO indicates that the system privileges are still cataloged.
v A value of REC indicates that the system privileges exist in the DB2
system catalog. The new object version has not been recorded in DB2
Object Restore Versioning Repository.
ARCHIV
Indicates whether the user can issue the ARCHIVE LOG command.
BNDADD
Indicates whether the user can create plans and packages using the BIND
subcommand with the ADD option.
BNDAGN
Indicates whether the user can issue the BIND, FREE PACKAGE, or
REBIND subcommands for plans and packages and the DROP PACKAGE
statement on behalf of the grantor.
BSDS Indicates whether the user can issue the RECOVER BSDS command.
Chapter 7. Privilege recovery 97
CREATE...ALIAS
Indicates whether the user can issue the CREATE ALIAS command.
CREATE...DBA
Indicates whether the user can issue the CREATE DATABASE command
and acquire DBADM authority over those databases.
CREATE...DBC
Indicates whether the user can issue the CREATE DATABASE statement
and acquire DBCTRL authority over those databases.
CREATE...SG
Indicates whether the user can create new storage groups.
CREATE...MTAB
Indicates whether the user can issue the CREATE GLOBAL TEMPORARY
TABLE statement.
DSPLAY
Indicates whether the user can issue the DISPLAY command.
MONTOR1
Indicates whether the user can obtain IFC data that does not contain
potentially secure data.
MONTOR2
Indicates whether the user can obtain IFC data that does contain potentially
secure data.
RECVER
Indicates whether the user can issue the RECOVER INDOUBT command.
STPALL
Indicates whether the user can issue the STOP DB2 command.
STOSPC
Indicates whether the user can use the STOSPACE utility.
SYSADM
Indicates whether the user has all system privileges.
SYSCTL
Indicates whether the user has system control privileges.
SYSRPR
Indicates whether the user has system operator authority privileges.
TRACE
Indicates whether the user can issue the TRACE commands.
Granted Timestamp
The date and time at which the last system privileges were granted.
Important: Since DB2 Object Restore privilege recovery works through the same
workflow and series of panels, this document uses use privileges
recovery as the example of workflow and process. All other sections of
DB2 Object Restore privilege recovery address only the differences
from use privileges recovery.
98 User’s Guide
Plan privileges recovery
Select option PP from the DB2 Object Restore menu. You are prompted with the
Enter Plan Like window to identify the plan with which you want to work.
|
|
| Grantor Like . . . *
| Grantee Like . . . *
| Name Like . . . . . *
| Display Dropped Only.N ( Y or N )
|
|
| Figure 82. Plan Like window
|
| This message prompts you to enter a grantor, grantee (user), and plan, if known.
| Otherwise, you can enter a few letters and the wildcard character (*) to conduct a
| search for the user and plan or press Enter to view all users and plans within the
| subsystem. The default is all (*). You can also indicate whether you want to display
| only dropped objects. If you specify N you will see all objects that match your
| selection criteria. If you specify Y you will see only objects that have been dropped.
Grantor . . . . . . * Grantee . . *
Name . . . . . . . *
Display Dropped Only.N
-------------------------------------------------------------------------------
B E
Cmd Grantee Grantor Dropped Plan A A Granted
PDUSERA PDUSER NO PGM02001 G G 2003-04-28-12.50.46.464029
PDUSERA PDUSER NO PGM02002 G G 2003-04-28-12.50.46.518715
PDUSERA PDUSER NO PGM02003 G G 2003-04-28-12.50.46.567637
PDUSERA PDUSER NO PGM02004 G G 2003-04-28-12.50.46.617907
PDUSERA PDUSER NO PGM02005 G G 2003-04-28-12.50.46.667216
PDUSERA PDUSER NO PGM02006 G G 2003-04-28-12.50.46.716933
PDUSERA PDUSER NO PGM02007 G G 2003-04-28-12.50.46.771810
PDUSERA PDUSER NO PGM02008 G G 2003-04-28-12.50.46.821073
Columns
Important: Since DB2 Object Restore privilege recovery works through the same
workflow and series of panels, this document uses use privileges
recovery as the example of workflow and process. All other sections of
DB2 Object Restore privilege recovery address only the differences
from use privileges recovery.
|
|
| Grantor Like . . . *
| Grantee Like . . . *
| Location Like . . . *
| Collection Like . . *
| Name Like . . . . . *
| Display Dropped Only.N ( Y or N )
||
| Figure 84. Package Like window
|
| This message prompts you to enter a grantor, grantee (user), location, collection,
| and package, if known. Otherwise, you can enter a few letters and the wildcard
| character (*) to conduct a search for them or press Enter to view all users and
| packages within the subsystem. The default is all (*) . You can also indicate
| whether you want to display only dropped objects. If you specify N you will see all
| objects that match your selection criteria. If you specify Y you will see only objects
| that have been dropped.
After pressing Enter, the Package Privileges panel opens, as shown below:
Grantor . . . . . * Grantee . . *
Location . . . . . *
Collection . . . . *
Name . . . . . . . *
Display Dropped Only.N
-------------------------------------------------------------------------------
B C
Cm Grantee Grantor Dropped Package Location Collection A A
PDUSER PDUSER YES RAARDBII NULLID G G
PDUSER PDUSER YES RAARDBI1 NULLID G G
PDUSER PDUSER NO ETI@CONN ETIPACK G G
PDUSER PDUSER NO ETI@IOCT ETIPACK G G
PDUSER PDUSER NO ETI@IOID ETIPACK G G
PDUSER PDUSER NO ETI@IOSC ETIPACK G G
Columns
Topics:
v “Running saved DDL”
v “Locating Image Copies”
v “Utility JCL” on page 106
of the DDL that you want to run. Once you have typed the data set name, press
Enter to run the DDL or PF3 to cancel.
Otherwise, you can enter a few letters and the wildcard character (*) to conduct a
search for them or press Enter to view all table spaces and databases within the
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 103
subsystem. The default is all (*). You can also specify whether you want to view
image copies that exist in RS.SYSCOPY only, SYSIBM.SYSCOPY only, or both.
After pressing Enter, the Image Copy List (SYSCOPY) panel opens, as shown
below. This panel distinguishes image copies by color. SYSIBM.SYSCOPY only
image copies display in white; RS.SYSCOPY only image copies display in yellow;
and image copies that exist in both display in green.
DB2 OR V2R1 ------- SS01 Image Copy List (SYSCOPY) ------ Row 1 of 2283
Command ===> Scroll ===> PAGE
------------------------------------------------------------------------- +>
Fields
The fields on the Image Copy List (SYSCOPY) panel are discussed following:
Table Space and Database
Table Space and Database fields display the value that was entered in the
previous Enter SYSCOPY Like window. These fields can be used to control
the list of image copies displayed. Enter one or more letters and the
wildcard character (*) to limit the list of names displayed. Use only the
wildcard character to display all of the table spaces in the DB2 subsystem.
Informational fields
View Identifies whether you are viewing image copies that exist in
SYSIBM.SYSCOPY only, RS.SYSCOPY only, or both.
Image Copies Expiration Set To nnn Days
Identifies the image copy retention period. The image copy retention period
was set during product customization.
Columns
The columns on the Image Copy List (SYSCOPY) panel are discussed following:
Cmd Line command. These are discussed below.
LISTCAT output
Selecting a row with line command L displays the following panel if the image copy
data set is cataloged:
Pressing the END key will return to the image copy list.
If the image copy data set is not cataloged, the LISTCAT Output Display is
displayed showing the return code returned by the IDCAMS LISTCAT service.
Information
Utility JCL
Select option UJ from the DB2 Object Restore main menu. The Utility JCL Options
panel appears.
This panel is the selection menu for the Versioning Repository JCL options. The
menu options are:
1. Generate JCL to Load Versioning Repository
2. Generate JCL to Clean Versioning Repository
Job Cards:
//
//*
//*
//*
for the JCL that you want to save. You must also type valid job card information to
be generated at the top of the generated JCL. Once you have typed the
information, press Enter to save the JCL or PF3 to cancel.
The generate Versioning Repository update JCL will be displayed in an ISPF edit
session.You can edit, save the changes, or submit the JCL for processing. Type
END to exit the JCL edit and return to the Utility JCL Options menu.
The Versioning Repository update process requires that the value of DSNZPARM
IDBACK be at least 30. If you receive a max thread connection error:
The maximum number of concurrent threads has been exceeded Connection aborting.
The Versioning Repository update process can be altered using control statements
supplied via the SYSIN DDName in the JCL. Control statement values start in
UPDATE=[ON/OFF]
Use this control statement to turn on or off the Versioning Repository updates.
Turning off the updates suppresses any Versioning Repository updates and report
update counts are generated. The default value is UPDATE=ON.
COMMIT_AFTER=[######]
The default COMMIT interval during the Versioning Repository update process is to
issue a COMMIT at the end of each object update task. This default COMMIT
strategy will back out all updates made by an update task during the current load
process if an error occurs. This can cause DB2 to roll back many thousands of
updates if the Versioning Repository update process is terminated. To avoid the roll
back issues you can use the COMMIT_AFTER control statement to specify a 6-digit
number that identifies the update commit interval.
DATABASE=database_name
Coding this control captures only the information related to the specified database.
Only one DATABASE= statement can be coded. The following object types are not
updated using this option:
v Plans
v Packages
v DBRMs
v Plan Auths
v Package Auths
| SYSCOPYONLY=[ON/OFF]
| Use this control to update only the SYSCOPY VR table. This is much faster then a
| full VR update. It is important to keep the VR SYSCOPY table up to date to ensure
| that you can restore dropped objects.
The Versioning Repository update process updates only the object types selected
using main menu option RO and sub-options 1 and 2.
When updating privileges, if the Limit repository update to adds only option is
selected, the update process examines all rows in the corresponding DB2 System
Catalog tables. For installations that grant all privileges to users or revoke all
privileges prior to granting new or updated privileges, selecting the Limit repository
update to adds only option will improve the update processing time.
If the option to remove expired versions of objects during the repository update
process is selected, then the update process may take longer to complete. If update
performance is a consideration, then do not select the expired version clean-up to
be done during the repository update job. Run the repository clean-up job once a
week to remove expired versions.
Attention: Creating the suggested indexes on the DB2 System Catalog improves
the performance of the repository update process.
Sample JCL to update and clean the Versioning Repository is provided in the
samples data set, SAUOSAMP, shipped with Object Restore. The JCL members are
as follows:
AUOVRCLN
Sample Versioning Repository clean-up JCL.
AUOVRUPD
Sample Versioning Repository update JCL.
Job Cards:
//
//*
//*
//*
for the JCL that you want to save. You must also type valid job card information to
be generated at the top of the generated JCL. Once you have typed the
information, press Enter to save the JCL or PF3 to cancel.
The generate Versioning Repository clean JCL will be displayed in an ISPF edit
session.You can edit, save the changes, or submit the JCL for processing. Type
END to exit the JCL edit and return to the Utility JCL Options menu.
Topics:
v “Scenario summaries”
v “Upgrading the Versioning Repository from V1.2 to V1.3” on page 112
v “Upgrading V1.2 to V2.1 for DB2 versions 5, 6, 7, and 8 (CM)” on page 112
v “Upgrading V1.2 to V2.1 for DB2 version 8 NFM” on page 112
v “Upgrading V1.3 to V2.1 for DB2 Version 8 NFM” on page 113
v “Migrating the VR from DB2 V7 to DB2 V8” on page 114
v “Migrating the SLR from DB2 V8 to DB2 V9” on page 115
v “Edit SAUOSAMP members” on page 116
Scenario summaries
These are the various scenarios that you might encounter when you want to
upgrade the Versioning Repository.
There is no upgrade supported for DB2 Object Restore v1.1 to DB2 Object Restore
v2.1. V1.1 users will not be able migrate the data recorded in the v1.1 Versioning
Repository.
Users of DB2 Object Restore v1.2 upgrading to DB2 version 8 (NFM) subsystems
will be required to upgrade the Versioning Repository to the v1.3 level prior to
starting the migration to the v2.1 DB2 V8 NFM Versioning Repository.
No upgrade or data migration is required for users currently using DB2 Object
Restore v1.3 and moving to v2.1. DB2 Object Restore v2.1 uses the same
Versioning Repository created by v1.3 without any data migration--Versioning
Repository (Level ″C″) for DB2 version 5, 6, 7, and 8 (running in Compatibility Mode
(CM)).
Upgrading and data migration is only required for users moving from DB2 Object
Restore v1.2 or migrating to DB2 version 8 New Function Mode (NFM).
By following the steps in this appendix, DB2 Object Restore v1.2 and v1.3 users
can avoid dropping the old repository and creating a new one which results in the
loss of previously captured data.
The DB2 Object Restore v2.1 Versioning Repository update process can recognize
that a v1.2 to v1.3 conversion occurred and makes any required internal data
structure updates that are required.
If you are migrating to DB2 Object Restore Version v2.1 from Version 1.2, you must
first install DB2 Object Restore Version 2.1. You must follow these steps instead of
those found in Steps 1 and 2 of the customization procedure. When you have
completed the steps below, continue with the customizations steps at Step 3, Bind
the SQL.
Important: All DB2 Object Restore V1.3 PTFs must be applied before upgrading
the Versioning Repository.
Remember: The 1.3 Versioning Repository load process will run longer than usual
when first executed after the repository update. This increase in
execution time is the result of the load process scanning and adjusting
the internal data structures.
The DB2 Object Restore v2.1 migration process works by copying data from the
DB2 Object Restore v1.3 repository when it detects that the corresponding data in
the DB2 system catalog has been converted to Unicode and the corresponding DB2
Object Restore v2.1 table(s) are empty. The DB2 Object Restore migration job is
run after the successful completion of each DB2 version 8 catalog table migration
(v7 to v8) job.
Important:
v There are no extra DASD requirements for migration to Object
Restore v2.1.
v You must be current on all Object Restore v2.1 maintenance
releases to use this process.
1. Back up data in the DB2 v7 Versioning Repository. If the conversion process
fails or is performed incorrectly, you must restore the Versioning Repository from
the backup copy.
2. Create the Object Restore v2.1 DB2 V8 Versioning Repository. DDL is provided
in SAUOSAMP data set member AUO#DDL8. SPUFI or a compatible utility can
be used to execute the DDL. The Object Restore DB2 V8 Versioning Repository
can coexist with the Object Restore DB2 V7 Versioning Repository. Do not drop
the Object Restore DB2 V7 Versioning Repository until you have verified that
the Object Restore v2.1 DB2 V8 data migration was successful.
3. Bind Object Restore v2.1 DB2 V8 packages. Sample JCL is provided in
SAUOSAMP data set member AUO#BKV8. Complete the JCL edits that are
indicated in the JCL comments. Do not continue with the next step until this step
completes successfully.
4. Bind Object Restore v2.1 DB2 V8 plans. Sample JCL provided in SAUOSAMP
data set member AUO#BPV8. Complete the JCL edits that are indicated in the
JCL comments. Do not continue with the next step until this step completes
successfully.
5. Update the Object Restore v2.1 product plan names and DB2 subsystem
information using option PS from the Object Restore v2.1 main product menu.
Do not attempt to access other features of the product until the product plan
names and DB2 subsystem information is updated. Failure to update the
product plan names and DB2 subsystem information could result in product
errors. Trying to access other product features and options at this point will
result in empty object displays because the Object Restore DB2 V8 Versioning
Repository has not been populated yet.
Once Object Restore v2.1 is working in DB2 V8 NFM mode, several cycles of VR
updates runs have worked with no errors, and all the functions of the product are
working, you can free the Object Restore DB2 V7 packages and plans. The Object
Restore DB2 V7 Versioning Repository can be dropped.
You must run a series of batch jobs that will migrate the DB2 V8 NFM SLR
structure to the DB2 V9 NFM structure. During this migration process the DB2
Object Restore product is not available.
To prepare for the DB2 V9 NFM SLR migration you must complete the DB2 V8
NFM product migration process (if migrating from DB2 V7) or currently be at the
DB2 V8 NFM support level. After applying the DB2 V9 PTF, you then perform the
following migration process.
1. Ensure that you have Object Restore V2.1 installed on the subsystem that you
are migrating.
2. Take image copies of the DB2 V7 Versioning Repository table spaces. Sample
image copy JCL is not shipped with the product. You will not change anything
until after you switch from enabling new function mode (ENFM) to new function
mode (NFM). The Object Restore repository and binds for DB2 V7 are used
through the DB2 migration process.
3. After you are in NFM, you must build the Versioning Repository for DB2 V8
(sample member AUO#DDL8).
4. Rebind with the Object Restore binds for DB2 V8 binds (sample members
AUO#BKV8 and AUO#BPV8).
5. Migrate the data from the DB2 V7 Versioning Repository to the new one
(sample member AUO13#V8). You should not delete the old Versioning
Repository until the migration process is complete and there is no need for
fallback.
6. After DB2 V8 NFM is running and the Object Restore data has been migrated to
the new Versioning Repository, you may then delete the old Versioning
Repository for DB2 V7.
You must be at the DB2 Object Restore V8 NFM schema level repository structure
level before migrating to the DB2 V9 NFM structure level.
You must run a series of batch jobs that will migrate the DB2 V8 NFM SLR
structure to the DB2 V9 NFM structure. During this migration process the DB2
Object Restore product is not available.
The migration process consists of 2 sample JCL members that are shipped in the
sample data set. These new members are:
v AUOMIG91 – Adds new columns to the existing SLR objects.
v AUOMIG92 – Add new SLR objects and views on new DB2 V9 system catalog
tables.
To prepare for the DB2 V9 NFM SLR migration you must complete the DB2 V8
NFM product migration process (if migrating from DB2 V7) or currently be at the
DB2 V8 NFM support level. After applying the DB2 V9 PTF, you then perform the
following migration process.
1. Ensure that you have Object Restore V2.1 installed on the subsystem that you
are migrating.
2. Prior to applying the DB2 V9 support PTF, perform image copies of the DB2 V8
NFM schema level repository table spaces. Sample image copy JCL is not
shipped with the product. You will not change anything until after you switch to
new function mode (NFM). The Object Restore repository and binds for DB2 V8
are used through the DB2 migration process.
3. Prior to starting the SLR migration process, modify AUOMIG91 and AUOMIG92.
4. Modify and execute sample JCL member AUOMIG91. This member adds new
columns to the existing SLR.
5. Modify and execute sample JCL member AUOMIG92. This member adds new
indexes and tables.
6. This optional step is to run the REORG utility on SLR table spaces after the
migration process is completed. This step is not required but it reformats table
rows of updated tables and improves space management. Sample REORG JCL
is not shipped with the product.
7. This optional step is to run a RUNSTATS on the SLR tables. Sample
RUNSTATS JCL is not shipped with the product.
8. Update authorizations for new objects added to the SLR. If required, update
authorizations to access new DB2 V9 system catalog objects.
9. Run product package and plan sample JCL members.
a. Run package bind sample JCL member AUO#BKV9
b. Run plan bind sample JCL member AUO#BPV9.
Important: New objects are being added to the SLR and new DB2 system catalog
tables are being referenced. The product administrator must ensure
that:
v object authorizations have been updated for all product users
Attention: You may encounter a return code = 4 from the AUO13INX job because
of an empty index. This is not an error condition and you can continue with the
upgrade process.
Topics:
v “Object names”
v “Data recovery section”
Object names
When using DB2 Object Restore and targeting DB2 version 8 new function mode or
higher subsystems, long object names will be generated in the object recovery DDL
statements. The object names contained in DDL comments will be truncated to the
DB2 version 7 object name size. Each truncated object name component that is
truncated will be suffixed with a percent (%) character.
For example:
ABCEDFGH%
ABCEDFGHIJKLMNOPQR%
The Data Recovery DDL section has two formats. The formats are:
1. DB2 version 5, 6, 7, and 8 CM recovery.
2. DB2 version 8 NFM and higher recovery.
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 119
Table space recovery information - ID: TS
This statement is generated for each recovered table space. Only generated if TS
REORG is detected.
Table 8. Table space recovery REORG timestamp
Column Length Description
7 2 RT
14 44 Timestamp of last TS REORG.
This statement is generated for each table being recovered from a UNLOAD
backup data set.
Table 10. Table UNLOAD backup recovery information
Column Length Description
7 2 BD
This statement is generated for each table being recovered from a UNLOAD
backup data set.
Table 11. Table UNLOAD controls recovery information
Column Length Description
7 2 PD
10 56 UNLOAD control statement data set name.
This statement is generated for each table being recovered from an UNLOAD
backup data set.
Table 19. Table UNLOAD backup recovery information
Column Length Description
7 2 TB
This statement is generated for each table being recovered from an UNLOAD
backup data set.
Table 20. Table UNLOAD controls recovery information
Column Length Description
7 2 TB
9 1 Record Type:
v B = UNLOAD table data backup DSName
10 1 Y = Single table recovery.
11 1 Single table recovery type:
v A = Recover table data from image copy
v B = Recover table data using UNLOAD files
v C = Recover dropped table from TS VSAM file
12 5 OBID for TB version being recovered.
17 44 UNLOAD backup data set name
Topics:
v “Restoring data without using log analysis”
v “Restoring data using log analysis” on page 128
Turn off the point in time recovery using User Recovery Options (UR) > User
Recovery Generation Options (1) and deselecting Point in Time Recovery.
This prevents generating SQL and execution JCL from log analysis.
Use all of the same procedures listed previously, except that you must substitute
the following steps 3a-1 and 3a-2 for Step 3a:
3a-1 Type COMMENT ALL on the DDL display screen command line to convert the
generated DDL to comments.
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 127
3a-2 After the DDL is converted to comments, execute it (using Option 1 or 2).
The commented DDL execution results in no DDL execution errors and
allows the DDL to be saved. Continue with Step 3b.
Turn on the point in time recovery using User Recovery Options (UR) > User
Recovery Generation Options (1) and selecting Point in Time Recovery.
Use all of the same procedures listed previously, except that you must substitute
the following steps 3a-1 and 3a-2 for Step 3a:
3a-1 Type COMMENT ALL on the DDL display screen command line to convert the
generated DDL to comments.
3a-2 After the DDL is converted to comments, execute it (using Option 1 or 2).
The commented DDL execution results in no DDL execution errors and
allows the DDL to be saved. Continue with Step 3b.
DB2 objects (DATABASE, TABLE SPACE, etc.) are built in DB2 during DB2 Object
Restore installation to store the DB2 Object Restore Versioning Repository data
collected by the AUOVRUPD job. The DDL to build these objects requires some
calculations for space prior to creating the objects. In particular, the table spaces
RSDBUTIL.RSTSRD01 and databasename.tablespacename will be used to store
several DB2 tables for the Versioning Repository. The size of these table spaces is
determined at install time, based on certain estimates provided by the installer.
Coincidental to these calculations are the space calculations necessary for the
indexspaces for the accompanying Versioning Repository indexes.
Below is a discussion of the sizing issues related to the table spaces mentioned
above and their corresponding indexspaces.
As with all DB2 objects, the accuracy of the provided estimates dictates the degree
to which the DB2 Object Restore objects are successfully space-managed. As with
all DB2 objects, these sizes can be altered as new information is made available for
space management.
Note: These objects require the same DBA administration required by all DB2
objects for optimal management.
The following discussion and guidelines are intended as an installation starting point
in the space management of the DB2 Object Restore objects to be created in the
installation of the product.
Topics:
v “Sizing the RSDBUTIL.RSTSRD01 table space”
v “Sizing the indexspaces” on page 131
The installer should allow for the appropriate number of bytes of data per row in
each DB2 Object Restore table, based on the volume of data in the DB2 catalog,
when calculating space for this table space. The installer should try to place all data
in the PRIQTY allocation, with a SECQTY equal to at least 20% of the PRIQTY.
Free space considerations should be made when defining the
RSDBUTIL.RSTSRD01 table space, based on expected growth of the volume of
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 129
data in the DB2 catalog. The final calculation for PRIQTY should also take into
account the free pages, pageset header page, spacemap page (or pages), and
dictionary pages if data compression is employed.
The following table may help you determine the PRIQTY and SECQTY size for the
RSDBUTIL.RSTSRD01 table space. The table below shows the maximum row
length and the maximum number of rows that 4K holds for each DB2 table. The
information is based on the fact that 1K = 1024 bytes, and the expectation that the
table space will employ 4K pages. In all cases, you should make adjustments for
page overhead, (such as page header data), and anticipated free space
requirements. In all cases, changes based on site standards should be incorporated
into this space calculation.
Table 22. Table space calculation table
Maximum number of rows in
Table name Maximum row length 4K
SYSAUXRELS 151 27
SYSCHECKS 3999 1
SYSCOLAUTH 121 33
SYSCOLUMNS 739 5
SYSCOPY 1958 2
SYSDATABASE 92 44
SYSDATATYPES 360 11
SYSDBAUTH 68 60
SYSDBRM 167 24
SYSFIELDS 1881 2
SYSFOREIGNKEYS 77 53
SYSINDEXES 137 29
SYSINDEXPART 601 6
SYSKEYS 72 56
SYSLOADS 53 77
SYSPACKAGE 257 15
SYSPACKAUTH 88 46
SYSPACKDEP 88 46
SYSPACKLIST 71 57
SYSPARMS 162 25
SYSPKSYSTEM 88 46
SYSPLAN 98 41
SYSPLANAUTH 45 91
SYSPLANDEP 46 89
SYSPLSYSTEM 34 120
SYSPROCEDURES 3375 1
SYSRELS 134 30
SYSRESAUTH 63 65
SYSROUTINES 1901 2
SYSSTOGROUP 61 67
Notes:
1. The tables you are sizing here are your tables, not the system tables.
2. For each table, calculate the minimum number of 1K blocks you must
allocate in the CREATE TABLESPACE PRIQTY parm using the
following calculation and rounding up:
(number of expected rows) / (Max Number of Rows in 4K) X 4
3. Several of these tables contain substantial VARCHAR data. If each
VARCHAR column reaches maximum size, 4K will hold the maximum
number of rows that is listed in the table. If the installer has knowledge
that the VARCHAR columns will not reach maximum size, adjustments
should be made accordingly. These adjustments may dramatically
increase the estimate of the number of rows per 4K page, and change
the subsequent space requirements for the table.
Each index is UNIQUE so there will be one entry in the index for each row in the
associated table. You can calculate the number of 1K blocks allocated in the
PRIQTY for each index as follows:
(number of rows) X (KEY LENGTH plus RID) = (X)
The number of 1K blocks in PRIQTY would then be the result of X divided by 1024,
with the result rounded up. The final determination for PRIQTY for each index must
include consideration for index overhead (such as pageset header page).
AUO001I IBM* Rocket Licensed Materials - AUO006E Display Dropped only indicator is
Property of IBM 5697-I20 (c) Copyright invalid. Enter a ″Y″ to display only
IBM Corp. 1999,2003 All Rights dropped objects or an ″N″ to display
Reserved (c) Copyright Rocket all objects.
Software, Inc. 1999,2003 All Rights
Explanation:
Reserved. *Trademark of International
Business Machines **Trademark of Display Dropped only indicator is invalid.
Rocket Software, Inc.
User response:
Explanation:
Enter a ″Y″ to display only dropped objects or an ″N″ to
License and copyright information. display all objects.
User response:
AUO007W No data matches the specified like
None required.
criteria.
Explanation:
AUO002E A valid DB2 subsystem is required.
No data matches the specified like criteria.
Explanation:
User response:
You entered an invalid DB2 subsystem.
Change your like criteria.
User response:
Please enter a valid DB2 subsystem.
AUO008E Invalid response - Please enter a ″Y″ to
generate the DDL or an ″N″ to bypass
AUO004E User is not authorized to enter DB2 this object.
Object Restore.
Explanation:
Explanation:
You entered an invalid response.
User does not have the authority to use Object Restore.
User response:
User response:
Enter a ″Y″ to generate the DDL or an ″N″ to bypass
Verify the user’s authority with your system this object.
administrator.
AUO009E Invalid command - The command you
AUO005E Invalid line command entered. entered is not valid for this screen.
Explanation: Explanation:
You entered an invalid line command. You entered an invalid line command.
User response: User response:
Enter a valid line command. Enter a valid line command.
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 135
AUO010E • AUO018E
User response:
AUO017E Enter Required Field - A fully qualified
Follow the instructions in the message to correct the dataset name is required to save the
situation. DDL to a file.
Explanation:
AUO013E Dataset not found - Dataset dsname
was not found in the MVS catalog. You did not enter a fully qualified data set name.
Please enter a valid dataset that is User response:
cataloged.
Enter a fully qualified data set name.
Explanation:
The data set you entered was not found in the MVS AUO018E Invalid Subsystem - The subsystem
catalog. ssid Object Restore control record was
User response: not found in the Control File. Enter
option ″S″ from Object Restore main
Enter a valid dataset that is cataloged. menu and enter option 2 for SSID ssid.
Explanation:
AUO014E A problem was encountered in
allocating the files necessary for ISPF The subsystem you entered is not found in the control
file tailoring. Please try again. file.
A problem was encountered in allocating the files Follow the instructions in the message to correct the
necessary for ISPF file tailoring. This problem is often situation.
caused because you have entered an invalid work file
User response:
AUO019E Invalid Subsystem - The subsystem
ssid Control Record was not set up in None required.
the Control File. Enter option ″S″ from
Object Restore main menu and enter
option 1 for SSID ssid AUO025W Recovery Data Capture Option Not
Activated. Recovery Not Allowed.
Explanation:
Explanation:
The subsystem you entered is not found in the control
file. The Recovery Data Capture option for the object you
attempted to recover is not selected.
User response:
User response:
Follow the instructions in the message to correct the
situation. None required.
AUO020E Invalid Value - Please enter ″YES″ or AUO026I JCL was successfully saved in dataset
″NO″ dsname
Explanation: Explanation:
You entered an invalid value. Your JCL was successfully saved in the specified data
set.
User response:
User response:
Enter ″YES″ or ″NO″.
None required.
User response:
AUO049E Error encountered invoking requested
Enter a valid dataset that is cataloged. command
Explanation:
AUO043E Member specified for sequential
There was an error encountered invoking the requested
dataset
command.
Explanation:
User response:
You specified a member for sequential dataset.
Contact IBM Customer Support.
User response:
Remove the member name and try again. AUO050E Recursive call to DB2 Object Restore
is not allowed
User response: You entered a data set that has a record length not
equal to 200.
Contact IBM Customer Support.
User response:
AUO047E Member missing for Partitioned Data Enter a different data set that has a record length equal
Set to 200.
Explanation:
AUO053I Table spaces not recoverable, JCL not
A member of the PDS is missing. generated
User response: Explanation:
Contact IBM Customer Support. None of the table spaces being recovered have any
image copy information.
AUO048E Unable to allocate DB2 Control File User response:
Explanation: None required.
Object Restore was unable to allocate the DB2 Control
File. AUO054E SQLID not valid for user
User response: Explanation:
Contact IBM Customer Support. The specified SQLID is not valid for the user or the user
is not authorized to use the specified SQLID.
AUO055I DB2 Object Restore does not support AUO061E Command not allowed when Select or
the recovery of data for a single table Drop requested
contained in a segmented table space
Explanation:
containing multiple tables. Data
recovery JCL will not be generated for You entered a line command that cannot be used when
the selected table. the Select or Drop commands are entered.
Explanation: User response:
Explanation in message. Either remove the Select and Drop commands and
enter the line command again or do not attempt to use
User response:
the line command.
None required.
AUO062W One or more tables were selected for
AUO056E Log Analysis Interface dataset LRECL recovery that contain columns added
is not 80 by ALTER TABLE ADD. A REORG was
not detected after the last table alter
Explanation:
and before the recovery image copy.
Log Analysis Tool Parameter Control data set LRECL is After the data recovery JCL is run the
not 80. This data set must be defined with LRECL=80. table data may not be accessible.
Explanation:
AUO802E AN INVALID RETURN CODE OF code
Explanation in message. WAS ENCOUNTERED ON function
FUNCTION. THE ERROR MESSAGE
User response: TEXT FOLLOWS: messages
None required. Explanation:
An invalid return code was encountered.
AUO077I DSNHDECP new function mode
indicator is set to Y for a DB2 User response:
subsystem executing in compatibility
If you cannot resolve this issue using the messages
mode or enabling new function mode.
displayed, contact IBM Customer Support.
This condition may cause this product
to generate inaccurate DDL, SQL, or
recovery JCL. AUO803E THE FIRST CHARACTER OF THE
COMMAND IS NOT A DASH. CORRECT
Explanation:
THE SYNTAX OF THE DB2 COMMAND
Explanation in message. AND RESUBMIT.
None required. You entered a command with using a dash as the first
character.
AUO079E Option only available with DB2 Version AUO902E No DB2 system name
9 New Function Mode
Explanation:
Explanation:
A DB2 subsystem ID has to be entered for processing.
This option is only available when the DB2 subsystem
User response:
version is DB2 version 9 New Function Mode.
Enter a valid DB2 subsystem name.
User response:
None required.
AUO903E Dataset not found
Explanation:
AUO801E AN INVALID SQLCODE OF code WAS
ENCOUNTERED. messages. The default GDG base dataset name could not be
located.
Explanation:
User response:
An invalid SQLCODE was encountered.
Ensure that GDG base dataset name is correct and that
User response:
it exists.
If you cannot resolve this issue using the messages
displayed, contact IBM Customer Support.
AUO904E VSAM open error
Explanation:
The specified dataset could not be opened for I/O.
User response:
AUO932E File tailor error AUO938E Field Required - The dataset entered is
a partitioned dataset and the member
Explanation:
name is required.
File tailoring include returned a skeleton in use -- ENQ
Explanation:
failed condition.
The data set that you entered is a partitioned data set
User response:
and you did not enter a member name.
Contact IBM Customer Support.
User response:
Enter a member name and retry.
AUO933E File tailor error
Explanation:
AUO939E Invalid value
File tailoring include returned a data truncation or
Explanation:
skeleton library or output file not allocated condition.
The only valid values are ″T″ for tracks and ″C″ for
User response:
cylinders
Contact IBM Customer Support.
User response:
Enter a valid value.
AUO934E File tailor error
Explanation:
AUO940E Dataset not found
File tailoring include returned a severe error condition.
Explanation:
User response:
The specified dataset could not be found in the MVS
Contact IBM Customer Support. catalog.
User response:
AUO935E File tailor error
Ensure that the dataset name is correct.
Explanation:
File tailoring include returned an unknown condition -- AUO941E Invalid Quantity
severe error.
Explanation:
User response:
The quantity fields must be numeric.
Contact IBM Customer Support.
User response:
Type a numeric quantity.
AUO936E Allocation Error
Explanation:
AUO942E Invalid Volumes
Allocation Error - The ISPFILE DD is already allocated
Explanation:
and can not be deallocated - Process not completed.
The Maximum number of volumes field is only valid
User response:
when the device type is a tape device.
Contact IBM Customer Support.
User response:
You can clear this field or specify a valid tape device.
AUO937E Allocation Error
Explanation:
AUO943E Invalid Value
Allocation Error - An error was encountered allocating
Explanation:
the ISPWRK1 or ISPWRK2 DD - Process not
completed. This value can only be specified when the device type
is a disk device.
User response:
User response:
Contact IBM Customer Support.
Type a different value or specify a valid disk device.
The data set name entered for the DB2 Tools Load
AUO944E Invalid Device
Library was not found. Enter a valid loadlib data set
Explanation: name and continue.
The specified device could not be found in MVS.
FEC902E A DB2 subsystem ID has to be entered
User response:
for processing.
Ensure that you specified the device correctly.
Explanation:
Explanation in message.
AUO945E Must Be Blank
User response:
Explanation:
Enter a valid DB2 subsystem name and continue.
Expiration Date and Retention Period are mutually
exclusive.
FEC903E The default GDG base dataset name
User response:
could not be located.
Ensure that you have one of the fields blank.
Explanation:
Explanation in message.
FEC801E AN INVALID SQLCODE OF code WAS
ENCOUNTERED. messages. User response:
Explanation: Enter a valid model data set name and continue.
An invalid SQLCODE was encountered.
FEC904E The specified dataset could not be
User response:
opened for I/O.
If you cannot resolve this issue using the messages
Explanation:
displayed, contact IBM Customer Support.
Explanation in message.
FEC802E AN INVALID RETURN CODE OF code User response:
WAS ENCOUNTERED ON function
Verify that the VSAM data set is accessible and
FUNCTION. THE ERROR MESSAGE
continue.
TEXT FOLLOWS: messages
Explanation:
FEC905E An unexpected return code from VSAM
An invalid return code was encountered. was encountered while doing a read of
the control file. RC=code.
User response:
Explanation:
If you cannot resolve this issue using the messages
displayed, contact IBM Customer Support. A VSAM READ error occurred while attempting to
access the data set specified for the DB2 Control
Dataset.
FEC803E The first character of the command is
not a dash. Correct the syntax of the User response:
DB2 command and resubmit.
The RC (VSAM return code) is provided for
Explanation: investigation. Refer to DB2 Messages and Codes
documentation to resolve and then continue.
You entered a command without using a dash as the
first character.
FEC906I The control file record for DB2
User response:
subsystem ssid has been successfully
Correct the syntax of the DB2 command and resubmit. updated.
Explanation:
FEC901E The Rocket Software default load
Explanation in message.
library could not be located.
User response:
Explanation:
None required.
Explanation in message.
User response:
FEC907E An unexpected return code from VSAM FEC912I Find string not found
was encountered while doing an
Explanation:
update operation of the control file.
RC1=code RC2=code The requested find string was not found.
Explanation: User response:
A VSAM update error occurred while attempting to None required.
update the data set specified for the DB2 Control
Dataset.
FEC914E An unknown column was specified
User response: using the SORT command.
The RC1 and RC2 (VSAM return codes) are provided Explanation:
for investigation. Refer to DB2 Messages and Codes
documentation to resolve and then continue. Explanation in message.
User response:
FEC908I The control file record for DB2 Verify that you correctly typed the name of the column
subsystem ssid has been successfully or select another column. Ensure that SORT criteria
added. includes an underscore in place of any spaces when
Explanation: attempting to SORT by name.
Explanation in message.
FEC915E SORT is not supported for the
User response: specified column.
None required. Explanation:
Explanation in message.
FEC909E The range of valid values is 1 to 3 and
5. User response:
Explanation in message.
FEC916E Sort column not entered. Column name
User response: or number must be specified.
Enter a valid value. Explanation:
Explanation in message.
FEC910E An unexpected return code from VSAM
was encountered while doing an add User response:
operation to the control file. RC1=code Specify the column name or number for SORT. Ensure
RC2=code that if column name is used, that spaces in the name
Explanation: are replaced with underscores.
The RC1 and RC2 (VSAM return codes) are provided The search function has reached the bottom of the
for investigation. Refer to DB2 Messages and Codes data.
documentation to resolve and then continue. User response:
Press PF5 to continue searching from the top.
FEC911E No Find string specified
Explanation: FEC919I Top of data reached
The (F)IND command was entered but no parameters Explanation:
were specified.
The search function has reached the top of the data.
User response:
User response:
Enter a FIND parameter.
Press PF5 to continue searching from the bottom.
FEC920E File tailoring open returned a file FEC925E File tailoring close returned a file not
tailoring already in progress condition. open condition -- severe error.
Explanation: Explanation:
An attempt to perform file tailoring for utility An attempt to perform file tailoring failed because a
customization failed. There was file tailoring session File-Not-Open condition was encountered on close.
already in progress. File tailoring sessions cannot be
User response:
performed concurrently.
Verify that all required files are allocated and accessible,
User response:
and that there are no other tailoring sessions running
Contact IBM Customer Support. concurrently with your session.
FEC921E File tailoring open returned the output FEC926E File tailoring close returned an output
file already in use condition -- ENQ file in use condition.
failed.
Explanation:
Explanation:
An attempt to perform file tailoring failed because an
An attempt to open the DB2 Control Data Set failed with Output-File-Inuse condition was encountered on close.
an ENQ error. The data set is already open for output.
User response:
User response:
Verify that all required files are allocated and accessible,
Verify that you are the only user attempting to acces and that there are no other tailoring sessions running
this file. concurrently with your session.
FEC922E File tailoring open returned the skeletal FEC927E File tailoring close returned a skeletal
file or output file not allocated file or output file not allocated
condition. condition.
Explanation: Explanation:
An attempt to perform file tailoring failed because either An attempt to close file tailoring failed because either a
the tailoring skeleton file or output file is not allocated. tailoring skeleton file or output file was not allocated.
User response: User response:
Verify that all required files are allocated prior to Verify that all required files are allocated and accessible,
performing file tailoring. and that there are no other tailoring sessions running
concurrently with your session.
FEC923E File tailoring open returned a severe
error condition. FEC928E File tailoring close returned a severe
error.
Explanation:
Explanation:
An attempt to perform file tailoring failed because a
severe error condition was encountered on open. An attempt to perform file tailoring failed because a
severe error condition was encountered on close.
User response:
User response:
Verify that all required files are allocated and accessible
prior to performing file tailoring. Verify that all required files are allocated and accessible
prior to performing file tailoring.
FEC924E File tailoring open returned an
unknown code -- severe error. FEC929E File tailoring close returned an
unknown code -- severe error.
Explanation:
Explanation:
An attempt to perform file tailoring failed because a
severe error condition was encountered on open. An attempt to perform file tailoring failed because a
severe error condition was encountered on close.
User response:
User response:
Verify that all required files are allocated and accessible
prior to performing file tailoring. Verify that all required files are allocated and accessible
prior to performing file tailoring.
User response:
FEC930E File tailoring close returned a output
member exists in the output library Verify that all required files are allocated and accessible
and NOREPL was specified. prior to performing file tailoring.
Explanation:
FEC935E File tailoring include returned an
An attempt to perform file tailoring failed because the
unknown condition -- severe error.
close process could not replace the pre-existing tailored
member in the output file. Explanation:
User response: An attempt to perform file tailoring failed because a
severe error condition was encountered on an include
Change the output member name to a new name or
operation.
ensure that the output library allows for member
replacement. User response:
Verify that all required files are allocated and accessible
FEC931E File tailoring include returned a prior to performing file tailoring.
skeleton does not exist condition.
Explanation: FEC936E Allocation Error - The ISPFILE DD is
already allocated and can not be
An attempt to perform file tailoring failed because the
deallocated - Process not completed.
tailoring process could not locate a required tailoring
skeleton. Explanation:
User response: The ISPFILE DD allocation failed. The DD is already
allocated and cannot be deallocated for this TSO
Verify that all required files are allocated to perform file
session. The process did not complete successfully.
tailoring.
User response:
FEC932E File tailoring include returned a Contact IBM Customer Support.
skeleton in use -- ENQ failed condition.
Explanation: FEC937E Allocation Error - An error was
encountered allocating the ISPWRK1
An attempt to access a tailoring skeleton failed with an
or ISPWRK2 DD - Process not
ENQ error (member-in-use).
completed.
User response:
Explanation:
Verify that all required tailoring files are allocated, and
Explanation in message.
that there are no other tailoring sessions running
concurrently. User response:
Verify TSO session parameters are set correctly for your
FEC933E File tailoring include returned a data site prior to allocation of these DD statements.
truncation or skeleton library or output
file not allocated condition.
FEC938E The dataset entered is a partitioned
Explanation: dataset and the member name is
required.
An attempt to perform file tailoring failed because either
the tailoring skeleton file or output file is not allocated. Explanation:
User response: A required field was not entered. The data set entered
is a PDS (partitioned data set) and a member in this
Verify that all required files are allocated prior to
PDS must be referenced.
performing file tailoring.
User response:
FEC934E File tailoring include returned a severe Enter a member name and retry.
error condition.
Explanation: FEC939E The only valid values are ″T″ for tracks
and ″C″ for cylinders.
An attempt to perform file tailoring failed because a
severe error condition was encountered on an include Explanation:
operation.
Explanation in message.
User response:
Enter a valid value.
B
bind. The process by which the output from the SQL
precompiler is converted to a usable control structure,
often called an access plan, application plan, or
package. During this process, access paths to the data
are selected and some authorization checking is
performed. The types of bind are:
v automatic bind. (More correctly, automatic rebind) A
process by which SQL statements are bound
automatically (without a user issuing a BIND
command) when an application process begins
execution and the bound application plan or package
it requires is not valid.
v dynamic bind. A process by which SQL statements
are bound as they are entered.
v incremental bind. A process by which SQL
statements are bound during the execution of an
application process, because they could not be
bound during the bind process, and VALIDATE(RUN)
was specified.
v static bind. A process by which SQL statements are
bound after they have been precompiled. All static
SQL statements are prepared for execution at the
same time.
D
database. A collection of tables, or a collection of table
spaces and index spaces.
S
schema level repository. A collection of DB2 tables
that are used to archive DB2 object meta data and
recovery information. Also referred to as SLR. Formerly
called the Versioning Repository.
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 151
152 User’s Guide
Notices
This information was developed for products and services offered in the U.S.A. IBM
may not offer the products, services, or features discussed in this document in other
countries. Consult your local IBM representative for information on the products and
services currently available in your area. Any reference to an IBM product, program,
or service is not intended to state or imply that only that IBM product, program, or
service may be used. Any functionally equivalent product, program, or service that
does not infringe any IBM intellectual property right may be used instead. However,
it is the user’s responsibility to evaluate and verify the operation of any non-IBM
product, program, or service.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not give you any
license to these patents. You can send license inquiries, in writing, to:
IBM Director of Licensing
IBM Corporation
North Castle Drive
Armonk, NY 10504-1785
U.S.A.
For license inquiries regarding double-byte (DBCS) information, contact the IBM
Intellectual Property Department in your country or send inquiries, in writing, to:
IBM World Trade Asia Corporation
Licensing
2-31 Roppongi 3-chome, Minato-ku
Tokyo 106-0032, Japan
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law:
INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS
PUBLICATION “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE. Some states do not allow disclaimer of express or
implied warranties in certain transactions, therefore, this statement may not apply to
you.
Any references in this information to non-IBM Web sites are provided for
convenience only and do not in any manner serve as an endorsement of those
Web sites. The materials at those Web sites are not part of the materials for this
IBM product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it believes
appropriate without incurring any obligation to you.
Licensees of this program who wish to have information about it for the purpose of
enabling: (i) the exchange of information between independently created programs
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 153
and other programs (including this one) and (ii) the mutual use of the information
which has been exchanged, should contact:
IBM Corporation
J46A/G4
555 Bailey Avenue
San Jose, CA 95141-1003
U.S.A.
The licensed program described in this information and all licensed material
available for it are provided by IBM under terms of the IBM Customer Agreement,
IBM International Program License Agreement, or any equivalent agreement
between us.
Information concerning non-IBM products was obtained from the suppliers of those
products, their published announcements or other publicly available sources. IBM
has not tested those products and cannot confirm the accuracy of performance,
compatibility or any other claims related to non-IBM products. Questions on the
capabilities of non-IBM products should be addressed to the suppliers of those
products.
All statements regarding IBM’s future direction or intent are subject to change or
withdrawal without notice, and represent goals and objectives only.
All IBM prices shown are IBM’s suggested retail prices, are current and are subject
to change without notice. Dealer prices may vary.
This information is for planning purposes only. The information herein is subject to
change before the products described become available.
This information contains examples of data and reports used in daily business
operations. To illustrate them as completely as possible, the examples include the
names of individuals, companies, brands, and products. All of these names are
fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
If you are viewing this information softcopy, the photographs and color illustrations
may not appear.
Trademarks
IBM, the IBM logo, and ibm.com® are trademarks or registered trademarks of
International Business Machines Corporation in the United States, other countries,
or both. These and other IBM trademarked terms are marked on their first
occurrence in this information with the appropriate symbol (® or ™), indicating US
registered or common law trademarks owned by IBM at the time this information
was published. Such trademarks may also be registered or common law trademarks
in other countries. A complete and current list of IBM trademarks is available on the
Web at http://www.ibm.com/legal/copytrade.shtml.
IBM IMS
IBM logo Language Environment®
ibm.com MVS™
AIX OS/390
®
BookManager QMF™
CICS® RACF®
DB2 VSE/ESA
® ™
DB2 Universal Database z/OS
™
DFSMS z/VM
®
DRDA
Linux is a trademark of Linus Torvalds in the United States, other countries, or both.
Microsoft, Windows, Windows NT®, and the Windows logo are trademarks of
Microsoft Corporation in the Unites States, other countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
Java™ and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the
United States, other countries, or both.
Other company, product, and service names may be trademarks or service marks
of others.
Notices 155
156 User’s Guide
Bibliography
You might need to refer to other sources of information when you are using DB2 Object Restore for z/OS.
This section lists the documentation that supports DB2 Object Restore for z/OS. Use the appropriate
library for the version of IMS/DB2 that you are using.
Tip: To quickly locate a specific book, use the IBM Publications Center, which is located at
www.elink.ibmlink.ibm.com/public/applications/publications/cgibin/pbi.cgi. After you enter your country
information, click Search for publications , and enter the publication number (xxxx-xxxx) of the book that
you want.
DB2 Version 9.1 for z/OS product information
v DB2 Version 9.1 for z/OS Administration Guide, SC18-9840
v DB2 Version 9.1 for z/OS Application Programming and SQL Guide, SC18-9841
v DB2 Version 9.1 for z/OS Application Programming Guide and Reference for Java, SC18-9842
v DB2 Version 9.1 for z/OS Codes, GC18-9843
v DB2 Version 9.1 for z/OS Command Reference, SC18-9844
v DB2 Version 9.1 for z/OS Data Sharing: Planning and Administration, SC18-9845
v DB2 Version 9.1 for z/OS Diagnosis Guide and Reference, LY37-3218
v DB2 Version 9.1 for z/OS Diagnostic Quick Reference Card, LY37-3219
v DB2 Version 9.1 for z/OS Installation Guide, GC18-9846
v DB2 Version 9.1 for z/OS Introduction to DB2, SC18-9847
v DB2 Version 9.1 for z/OS Licensed Program Specifications, GC18-9848
v DB2 Version 9.1 for z/OS Messages, GC18-9849
v DB2 Version 9.1 for z/OS ODBC Guide and Reference, SC18-9850
v DB2 Version 9.1 Performance Monitoring and Tuning Guide, SC18-9851
v DB2 Version 9.1 for z/OS Program Directory, GI10-8737
v DB2 Version 9.1 for z/OS RACF Access Control Module Guide, SC18-9852
v DB2 Version 9.1 for z/OS Reference for Remote DRDA Requesters and Servers, SC18-9853
v DB2 Version 9.1 for z/OS Reference Summary, SX26-3854
v DB2 Version 9.1 for z/OS SQL Reference, SC18-9854
v DB2 Version 9.1 for z/OS Utility Guide and Reference, SC18-9855
v DB2 Version 9.1 for z/OS What’s New?, GC18-9856
v DB2 Version 9.1 for z/OS XML Extender for z/OS Administration and Programming, SC18-9857
v DB2 Version 9.1 for z/OS XML Guide, SC18-9858
DB2 Universal Database for z/OS, Version 8 product information
v DB2 Administration Guide, SC18-7413
v DB2 Application Programming and SQL Guide, SC18-7415
v DB2 Application Programming Guide and Reference for Java, SC18-7414
v DB2 Command Reference, SC18-7416
v DB2 Data Sharing: Planning and Administration, SC18-7417
v DB2 Diagnosis Guide and Reference, LY37-3201
v DB2 Diagnostic Quick Reference Card, LY37-3202
v DB2 Installation Guide, GC18-7418
v DB2 Licensed Program Specifications, GC18-7420
v DB2 Messages and Codes, GC18-7422
v DB2 ODBC Guide and Reference, SC18-7423
v DB2 Reference Summary, SX26-3853
v DB2 Release Planning Guide, SC18-7425
v DB2 SQL Reference, SC18-7426
v DB2 Utility Guide and Reference, SC18-7427
v DB2 What’s New?, GC18-7428
v DB2 XML Extender for z/OS Administration and Programming, SC18-7431
v Program Directory for IBM DB2 Universal Database for z/OS, GI10-8566
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 157
DB2 Universal Database for z/OS, Version 7 product information
v An Introduction to DB2 for OS/390, SC26-9937
v DB2 Administration Guide, SC26-9931
v DB2 Application Programming and SQL Guide, SC26-9933
v DB2 Application Programming Guide and Reference for Java, SC26-9932
v DB2 Command Reference, SC26-9934
v DB2 Data Sharing: Planning and Administration, SC26-9935
v DB2 Data Sharing Quick Reference Card, SX26-3846
v DB2 Diagnosis Guide and Reference, LY37-3740
v DB2 Diagnostic Quick Reference Card, LY37-3741
v DB2 Image, Audio, and Video Extenders Administration and Programming, SC26-9947
v DB2 Installation Guide, GC26-9936
v DB2 Licensed Program Specifications, GC26-9938
v DB2 Master Index, SC26-9939
v DB2 Messages and Codes, GC26-9940
v DB2 ODBC Guide and Reference, SC26-9941
v DB2 Reference for Remote DRDA Requesters and Servers, SC26-9942
v DB2 Reference Summary, SX26-3847
v DB2 Release Planning Guide, SC26-9943
v DB2 SQL Reference, SC26-9944
v DB2 Text Extender Administration and Programming, SC26-9948
v DB2 Utility Guide and Reference, SC26-9945
v DB2 What’s New? GC26-9946
v DB2 XML Extender for OS/390 and z/OS Administration and Programming, SC27-9949
v DB2 Program Directory, GI10-8182
Accessibility titles cited in this book
v z/OS ISPF User’s Guide, Volume 1, SC34-4822
v z/OS TSO/E Primer, SA22-7787
v z/OS TSO/E User’s Guide, SA22-7794
B
backup F
comprehensive solutions 2 features 1
recovery FEC$TSOC 15
comprehensive solutions 2 FIND 41
bind recovery 81 foreign key recovery 43
Bind Recovery 45 function recovery 76
bind the SQL 12, 13, 14 functions 1
C G
CANCEL 38 Generate Repository Clean JCL 109
changes 7 Generate Repository Load JCL 107
collection bind recovery 90 Generated Bind Controls 85
collection line commands 91 generated DDL 119
Collections 90
colors 42, 93, 104
conventions H
highlighting vii High Performance Unload 31
copy data 127 highlighting conventions vii
with log analysis 128
without log analysis 127
customization summary, DB2 Object Restore 11
© Copyright IBM Corp. 2001, 2009; Copyright Rocket Software Inc., 2001, 2009 159
I P
IKJTSO00 15 package bind recovery 87
image copy Package Dependencies 89
colors 104 package line commands 89
information 105 Package List 81
LISTCAT 105 Package Privileges 100
image copy data retention 28 package privileges recovery 100
Image Copy Dataset Parameters 21 Packages 87
image copy line commands 105 panel
Image Copy List (SYSCOPY) 104 Aliases 71
index recovery 65 Bind Recovery 45
Indexes 66 Collections 90
indexspace sizing 131 Databases 57
ISPF 6 Distinct Types 73
Enter DB2 System Parameters 19
Generate Repository Clean JCL 109
J Generate Repository Load JCL 107
JUMP 38 Generated Bind Controls 85
Image Copy Dataset Parameters 21
Image Copy List (SYSCOPY) 104
K Indexes 66
keyboard shortcuts 7 Log Analysis Service Options 21
main menu 33
Object Restore Profile 27, 28, 29
L Package Dependencies 89
Package List 81
launching other products 38
Package Privileges 100
launchpad 30
Packages 87
LISTCAT 105
Plan DBRM List 82
load repository 29
Plan Dependencies 83
locating image copies 103
Plan List 89
Log Analysis Service Options 21
Plan Privileges 99
Log Analysis Tool interface 43
Plans 83
long names 119
Product Setup Options 18, 21
LookAt vii
Recovery Dataset Parameters 21
Recovery Options 43
Repository Options 26
M Resource Privileges 93
main menu 33 Roles 80
message retrieval tool, LookAt vii Routines 76, 77
messages Sequences 78
methods for acessing vii Session Work Dataset Parameters 21
migrate 111 Storage Groups 54
migrating 114, 115 Synonyms 70
migration 12, 111 System Privileges 97
moving between products 38 Tables 63
multiple versions of objects 49 Tablespaces 61
Triggers 75
User Recovery Generation Options 43
N Utility JCL Options 106
new version 12 Views 67
performance improvements 4
plan bind recovery 81
O Plan DBRM List 82
object data retention 29 Plan Dependencies 83
Object Recovery 27 Plan List 89
Object Restore Profile 27, 28, 29 Plan Privileges 99
object status 42 plan privileges recovery 99
OPTIONS 38 Plans 83
overview 1 point in time recovery 43
primary commands 36
Index 161
162 User’s Guide
Printed in USA
SC18-9135-03