Define a Db2 LUW Module
Use the Db2 for LUW Module Editor to work with module properties.
Note: This topic applies to Db2 for LUW version 9.7 only.
To define a Db2 LUW module
- Right-click a Module in the Model Explorer and select Properties.
The Db2 for LUW Module Editor opens.
- Select a module and work with the following options:
Note: Click New on the toolbar to create a module.
- Name
Specifies the name of the module.
- Schema
Specifies the default schema for the module. Select a schema from the drop-down list.
- Use Replace Syntax
Specifies that Forward Engineering will use the CREATE OR REPLACE command instead of the CREATE command.
Note: This field applies to Db2 for LUW version 9.7 only.
- Generate
Specifies whether or not to generate DDL for this object during Forward Engineering.
- Work with the following options on the Module Object Definition tab:
- Name
Specifies the name of the object associated with the module. To add a new module object, click the Module Object Definition Editor icon to open the Module Object Definition editor.
Note: For Condition type object, the value you specify for the Name option is treated as the Condition Name.
- Action Type
Specifies the action performed on the module object. Select from the drop-down list; valid values are Add and Publish.
- Type
Specifies the type of the module object definition. Select from the drop-down list; valid values are Condition, Function, Procedure, Type and Variable.
- Click the Alias tab. Select the module name and click the new icon.
A new alias is created for the module and displayed under the selected module name.
- Select a schema for the alias from the Schema drop-down list.
You can create a child-alias for the selected alias by clicking the New icon.
Note: The Alias tab for a Module applies to Db2 for LUW version 9.7 only.
- Click the Permission tab to specify permissions for the selected module.
- (Optional) Click the Comment tab and enter any comments that you want to associate with the object.
- (Optional) Click the UDP tab to work with user-defined properties for the object.
- (Optional) Click the Notes tab to view and edit user notes.
- Click Close.
The Db2 for LUW Module Editor closes.
Copyright © 2020 erwin, Inc.
All rights reserved.
|
|