Use of a data modeling tool to import DDL
Several types of data modeling tools are available. Some are mainframe-based and interact directly with Db2; others run on workstations or personal computers and communicate with Db2 only through DDL. Even for systems that run on the mainframe, the data structure design output from a data modeling tool is usually DDL.
To install an initial version of an application from a data modeling tool, you perform the following steps:
- Import the DDL to an alter-type work ID (using Import).
- Submit the work ID to generate a worklist (using Analysis).
- Execute the worklist (using Execution).
When you receive the DDL file for a new version of your application’s data structures, you can perform a change migration process by
- Comparing the DDL to the previous version (DDL or baseline)
- Evaluating the generated CDL
- Importing the CDL to a work ID, running Analysis, and then running Execution
If the data modeling tool generates CDL, you need to evaluate, import, analyze, and execute the CDL.
Whenever you import a new or updated version of the data structures that are generated by the data modeling tool, establish one or more baselines to allow for recovery in case you discover errors.
Related topic