HYPER-CREATE-INDEX
Creates an index on all hyper sections and then adds it to an existing hyper file.
Command class
TCL-I command.
Syntax
HYPER-CREATE-INDEX hyper-file-name index-name
Syntax elements
hyper-file-name The file-specifier of the hyper file.
index-name The name of the index.
Operation
The HYPER-CREATE-INDEX command creates the index on all hyper sections that do not already have an index by that name, and then adds the index name to the hyper file definition item (H-pointer).
Prompt
HYPER-CREATE-INDEX prompts for index creation options:
Enter CREATE-INDEX options: ?
These options are the same as for CREATE-INDEX.
Comments
DEFINE-INDEX must be used to define the index before HYPER-CREATE-INDEX is used.
HYPER-CREATE-INDEX creates indexes on data sections contained in the hyper file's dictionary. If the hyper file's lookup table points to data sections in other dictionaries or accounts, then any indexes should be created on them independently and then HYPER-ADD-INDEX used to add the index into the hyper file.