Create the indexes for the attributes in lastname-firstname order with:
create-index addresses a2:1 |
Creating any Support Files
In this example, the support file phone.categories must be created with:
create-file phone.categories 1 1 |
ud phone.categories desc |
|
01 dictionary-code 02 attribute-count 03 substitute-header 04 structure 07 output-conversion 08 correlative 09 attribute-type 10 column-width 14 input-conversion 15 macro 16 output-macro 17 description 18 hotkey.all 19 hotkey1 : 28 hotkey0 |
: a : 1 : : : : : T : 20 : : : : Description : :
: |
ud phone.categories |
|
01 dictionary-code 02 attribute-count 03 modulo 04 structure 05 retrieval-lock 06 update-lock 07 password 08 correlative 09 attribute-type 10 column-width 14 input-conversion 15 macro 16 output-macro 17 description
18 hotkey.all 19 hotkey1 : 28 hotkey0 |
: d : 39611 : 1 : : : : : id0 : L : 10 : : desc : : The Telephone Category file Used by the “Addresses” file. : :
: |
phone.categories desc.......... |
|
1 2 3 4 5 6 7 |
work home cellular auto cellular pager fax modem |
With the definitions complete, the data can be entered:
u addresses f.name l.name addr city st zip phone.category phone.no |
When the item is filed, the indexes are automatically updated.
Points to Remember
The attribute-defining item length (column width) in no way restricts how many characters can be entered or displayed. It only specifies a column width on output.
Only during file creation can the case sensitivity be specified.
If more attributes need to be added later, a new attribute-defining item can be added to the database, specifying a new attribute number. The existing data does not need to be modified.
See Also
Sample Database Design and Creation
Deciding on Attributes and Definitions
Creating Attribute-Defining Items