20 Moving Data Across the DB2 Family
2.3.8 DB2 db2look
Based on the information in the DB2 system catalog, db2look generates the required DDL
statements to reproduce the database objects of a distributed database. It can also generate
DDL customized for distributed databases for some of the objects (tables, views, and indexes)
in a mainframe database.
db2look can also generate update statement for the catalog statistics and the configuration
parameters for the system.
This tool can also generate the required UPDATE statements to replicate the statistics on the
objects in a test database, as well as statements for the update of the database configuration
and database manager configuration parameters.
We show two simple examples:
The first one ...