Procedure
If indexes already exist on the table, a list of these indexes is displayed. Choose Create. A dialog box appears in which you must enter the three-place index identifier.
You will go to the maintenance screen for indexes.
A list of all the fields of the table is displayed.
The selected fields are copied to the index.
A
unique index is always created in the database at activation because it also has a functional meaning (prevents double entries of the index fields).If you chose For selected database systems, you must specify these systems. You have two options here:
Selection list: The index is only created automatically at activation for the database systems specified in the list. The index is not created in the database for all other database systems.
Exclusion list: The index is not created automatically in the database at activation for the specified database systems. The index is automatically created in the database for all other database systems.
A dialog box appears in which you can define up to 4 database systems. Use the input help for the first field to select the database systems. With the corresponding radio buttons you can decide whether this list should be treated as a selection list or an exclusion list.
Information on the activation process can be found in the activation log. You can call the activation log with Utilities
Result
The secondary index is automatically created in the database during activation if the corresponding table was already created there and index creation was not excluded for the database system.
If possible, check whether the database actually uses the index you created for selection. This is described in
How to Check if an Index is Used.