pc.index.fdi

Processing Code/Restore Processor, Releases: AP

Maintains the root.fid of the index.

Syntax

i{root.fid}a.code

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.

See Also

Command Name Type Description
tcl.create-index Verb: Access Creates new b-tree index.
tcl.nframe-index Verb: Access Displays total number of frames used by index or indices.
tcl.verify-index Verb: Access Verifies b-tree indices.
fid Definition Contraction for 'frame-id'.
cruising Definition Searches local and/or remote indexes.
fid Definition Contraction for 'frame-id'.
output-conversion Attribute Defining Item References attribute 14 of a dictionary.
processing.codes Definition Overview of processing codes.
index.fdi Processing Code See 'i (index, File-defining item)'.
pc.index.local Processing Code Defines local b-tree index.
up.input-conversion.adi Processing Code Processing codes available from UP after input.
pc.a Processing Code Defines algebraic processing expression.
pc.index.remote Processing Code Defines remote b-tree index.
tcl.delete-index Verb: Access Deletes b-tree index.
up.correlative Definition refers to processing codes that can be defined on the 'correlative' dictionary of the file-defining item which affect the item when it is filed.
pc Introductory
up.macro Definition Identifies the default attribute-defining items used for input and output processing of the item.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.