Refreshing a base model

Refreshing your base model will synchronize it with the current state of the database catalog. However, synchronizing the base model with the catalog does not automatically incorporate differences between the catalog and base model into the target model.
Important: Always check that the base model is in synch with the catalog before you deploy your changes. The database might have been changed between the time that you created your change commands and the time that you want to deploy those change commands.
The option to Check if the base model has changed is selected by default in the Deploy Change Commands wizard. You should not clear this check box unless you know that the base model and catalog are in synch.
If you update the base without forward fitting the changes into the target model, you run the risk of overwriting other changes.
Tip: After you refresh the base model, return to the Data Models page and click Compare Base and Target Models. Forward fit any changes from the base model into the target model.
To refresh the base model of your database, complete the following steps:
  1. From the Deployment Script Editor, click Refresh Base Model.
  2. In the Specify User Information window, specify your DB2 user ID and password, and click Next.
  3. On the Select Schema page, select the schema that you originally selected to create your models, and click Finish.

    Start of changeThe Last Action field on the Overview page of the Deployment Script Editor will display Refreshed Base Model.End of change

A status bar is displayed that indicates the progress of the refresh process.

Your base model now matches the most current state of the database catalog. If there is a difference with the previous base model, regenerate your change commands.

For more information on what to do if the base model is out of synch with the database catalog see the Common Problems topic.

Related tasks
Creating a deployment script
Deploying change commands from the Deployment Script Editor
Generating change commands from the Deployment Script Editor


Feedback

Copyright IBM Corporation 2006, 2007. All Rights Reserved.