Use the DB2 for LUW Global Variable Editor to define and set properties for global variables.
Note: This topic applies to DB2 for LUW versions 9.5 and 9.7 only.
To define a DB2 LUW global variable
The DB2 for LUW Global Variable Editor opens.
Note: Click New on the toolbar to create a global variable. Use the Enter filter text text box to filter a large list of names to locate the one you want to work with.
Specifies the name of the global variable.
Specifies the schema you want to associate with the global variable. Create or select a schema from the drop-down list.
Specifies the data type of the selected global variable. Select a data type from the drop-down list.
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.
Specifies whether or not to generate DDL for this object during Forward Engineering.
Specifies the initial value of the variable. Enter a value that is relevant for the Physical Data Type you have selected.
Specifies whether or not the initial value is a constant. Select the check box if the value is a constant.
Specifies whether or not the variable is still valid in the database.
Specifies whether or not the character type data is for binary.
Specifies the type of data to which the variable is anchored. Select from the drop-down list. The valid values are: Variable, Column, Table Row, View Row, and Cursor Variable.
Specifies the global variable to which the selected variable is anchored. This field appears only when you set the value for the Anchored To Type field as either Variable or Cursor Variable.
Specifies the name of the table for the anchored column. This field appears only when you set the value for the Anchored To Type field as Table, Column, or View Row.
Specifies the name of the anchored column for the variable. This field appears only when you set the value for the Anchored To Type field as either Column Row.
The DB2 for LUW Global Variable Editor closes.
Copyright © 2013 CA.
All rights reserved.
|
|