pc.index.fdi Processing Code/Restore Processor

pc.index.fdi

Command pc.index.fdi Processing Code/Restore Processor
Applicable release versions: AP
Category Restore Processor (84)
Description used in file-defining items to maintain index keys.

The "root.fid" is inserted by the system and MUST not be altered.

When an index is created using the "create-index" verb, the system inserts the "i" code in attribute 8 of the file-defining item along with with the "root.fid" and the "a" processing code.

"root.fid" is the beginning (frame-id) address of the index. If the index is created before data is entered into the file, the "root.fid" is not assigned until the next item is filed.

If data is present and the index processing code is added directly to the file-defining item, the pre-existing items will not be added to the index until they are filed. Any "new" items or pre-existing items which are subsequently filed are automatically added.

If data is present and the "create-index" command is issued, the File-Defining item is automatically updated with the index processing code and each item is added to the index. During the creation of the index, a counter displays on the screen indicating the number of items added to the index.

"a.code" defines the method by which the index keys are generated. It must be a valid "a processing code" and reference at least one attribute count within the file.
Syntax i{root.fid}a.code
Options
Example
Purpose
Related tcl.create-index
tcl.nframe-index
tcl.verify-index
fid
cruising
fid
output-conversion
processing.codes
index.fdi
pc.index.local
up.input-conversion.adi
pc.a
pc.index.remote
tcl.delete-index
up.correlative
pc
up.macro