Define a Db2 LUW Module Object Definition
You open the Db2 for LUW Module Object Definition Editor from a tab in the module editor.
To define a Db2 LUW module object definition
- Click the Module Object Definition Editor icon in the Module Editor and work with the following properties:
- Name
Specifies the module object definition name.
This name appears in the Forward Engineering script only when you select the Type as Condition. For other types, an erwin-generated name appears in the Forward Engineering script.
- Action Type
Specifies the action type for the module object definition. The action type can be Add or Publish.
- Type
Specifies the module object definition type. Select a type from the drop-down list. Valid values are Condition, Function, Procedure, Type, or Variable.
- Work with the following properties on the General tab:
- SQL State Value
Specifies the SQL State that is associated with the condition. This field appears only when the Type field has a value of Condition.
- Function
Specifies the function that is associated with the module. This field appears only when the Type field has a value of Function.
- Stored Procedure
Specifies the store procedure that is associated with the module. This field appears only when the Type field has a value of Procedure.
- Domain
Specifies the domain that is associated with the module. This field appears only when the Type field has a value of Type.
- Global Variable
Specifies the global variable that is associated with the module. This field appears only when the Type field has a value of Variable.
- Click Close.
The Db2 for LUW Module Object Definition Editor closes.
Copyright © 2025 Quest Software, Inc. |