Use this procedure to create an indexed data file. To create a (record) sequential, line sequential, or relative data file, see Create a Non-indexed Data File.
The New dialog box appears.
The Create New File dialog box appears.
For an indexed file, you must specify a primary key, and may specify one or more alternate keys.
The Key Information dialog box appears.
A primary key is created, with a default component. A component defines the start position and length of the key within each record.
Details for the default component, created when the key was added, appears.
For example, if the key is going to be the first 3 bytes of the record, specify Offset:0, Length:3.
The primary key is created.
An Alt Key <number> key is created, with a default component.
Details for the default component, created when the key was added, appear.
For example, if the key is going to be the next 3 bytes of the record after the primary key, specify Offset:3, Length:3.
The file is created, then opened in the editor.