This is an optional parameter specifying the number of secondary extent blocks to be used during allocation of temporary dataset OTDBS120 used during execution of the utility. ‘nnnnnnn’ is a
•S120UNIT=xxxxxxxx
This is an optional parameter specifying the unit name to be used for allocation of temporary dataset OTDBS120 used during execution of the utility. ‘xxxxxxxx’ is any valid disk or VIO unit name. If omitted, a default value of ‘VIO’ is used.
SQLIN entry specification
The SQLIN file is a
Rules for row restore are specified in the format of a standard DB2- compatible SQL SELECT command, which must have the general format:
SELECT key1, key2, .... keyn FROM table_name
WHERE row_restore_criteria
where ‘key1’, ‘key2’, …. ‘keyn’ are the names of the columns which are used
to establish a unique key for each row in the database, ‘table_name’ is the name of the DB2 table which is to be processed by the utility, (ie. the name of the table itself, not the view of the table created during product installation processing), and ‘row_restore_criteria’ are the criteria specified by the user for selection of rows which are to be restored to Archive Manager (eg):
SELECT ACCOUNT, SUBCODE FROM OTDBTEST.TAB1
WHERE ACNO = ‘123456789’
Note that row restore criteria are specified using the standard DB2- compatible SQL criteria specification format. Note also that where more than one unique index exists for the table, keys from any of these indexes may be used in the SELECT statement. In these circumstances, the choice of unique key(s) should be influenced by the search argument, in order to allow selection of rows for restore to be performed via INDEXONLY processing where possible.
The row restore utility will cause this statement to be validated by DB2 for correct SQL syntax. Any invalid specification will cause an SQL error to be received by the utility, which will cause it to terminate with a condition code of
12.In these circumstances, the SQL statement should be corrected and the job restarted.
DB2 Manager User Guide | 97 |
StorageTek Proprietary |
|