
140 DB2 Recovery Expert for Multiplatforms
6.14.5 Lock the table
It is important to ensure that the table is not accessed while we are in the process
of placing the recovered table image into the table space data directory. We
therefore lock the table using the command:
db2 +c lock table name in exclusive mode
6.14.6 Copy the table data file into the table space directory
We then copy the table data file (SQL00013.DAT) from the current directory,
where it was created, to the table space directory, using the command:
copy SQL00013.DAT C:\DB2\NODE0000\SQL00002\SQLT0002.0\SQL00013.DAT
Now, as shown in Example 6-5, the table has only one row, from t