Transforming a logical data model into a physical data model
To be able to generate jobs, you must transform the logical data model into a physical data model. You must also create required tables in the database based on the physical data model.
Procedure
- Log in to InfoSphere® Data Architect.
- Transform the logical data model into a physical data model.
- Right-click the logical data model that you have used to import metadata from SAP, and then select Transform to Physical Data Model.
- Select Create New model, and then click Next.
- Select IBM® DB2® as the target database, and then click Next.
- Verify the settings, click Next, and then click Finish.
- Create an ODBC connection from the target database
- Identify an IBM DB2 database in your system landscape as a target database to hold SAP data.
- Create an ODBC connection from server to the database. The procedure to create an ODBC connection depends on the operating system. For more information, consult your system administrator.
- Optional: Create a connection to the target
database from InfoSphere Data Architect. You can skip this step if you want to run the DDL script manually.
- In the Data Source Explorer view, right-click Database Connection, and then click New.
- Follow the instructions in the New Connection wizard to create a connection.
- Create an ODBC connection from the InfoSphere DataStage® Server to your target database.
- Right-click the new physical data model file (.dbm file) and select Generate DDL.
- Follow the instructions in the Generate DDL wizard to create a .sql file in the data design project.
- Run the DDL script on the new connection.
- Right-click the .sql file in the SQL scripts folder of the data design project and select Run SQL.
- Select the database connection and finish the wizard.