Changing Index Attributes Using changeda
The changeda -i
option allows
you to change attribute values for specified indexes within the data
area. For example, you can specify whether an index is a virtual or
physical index.
Note that you can convert all virtual indexes to physical indexes using the procedure outlined in Converting Virtual to Physical Indexes.
To change index attributes
changeda -i[r] [attribute=value] [-v displayoptions] dataarea file
index ...
where the default data area attribute that can be changed is:
Attribute | Value |
---|---|
indexed
|
Yes or no. Specifies whether a physical index should be created on the database server. The default is to obey the indexed attribute in the business class definition. A value of |
ddloptions
|
The ddloptions attribute enables you to include a string with valid DDL statements. This replaces the functionality formerly provided by LAW_DBA_TABLES.
|
Other values in the command syntax are:
Entry | Description |
---|---|
-r
|
Remove rather than update the attribute. |
dataarea
|
The data area to change index attributes for. |
file
|
The file to change index attributes for. |
index
|
The index to change attributes for. |
-v displayoptions
|
|