pc.index.local Processing Code/Restore Processor

pc.index.local

Command pc.index.local Processing Code/Restore Processor
Applicable release versions: AP
Category Restore Processor (84)
Description indicates that an index exists for the current attribute.
It must be defined in the attribute-defining item which corresponds to a "local" b-tree index previously created with a "create-index" command.

Utilizing Advanced Pick's b-tree indices consists of a two step process:

The first step is the creation of the index. The "create-index" establishes a new B-tree index.

The second step is defining the attribute index correlative on the input-conversion attribute of the dictionary. There may be one (either "local" or "remote") or two (one "local" and one "remote") indexes defined in any given attribute-defining item.

To access data in other files, see "index, remote".

When editing data in the attribute using the Update processor, the operator can "cruise" forward and backward through the items in the file. <ctrl>+d accesses the previous item based on the index; <ctrl>+f accesses the next item. A bell signifies the beginning or end of the index.

There can be more than one index created on any given attribute. If more than 1 index exists, the desired format must be specified.
Syntax
Options
Example
Create an index on attribute 1:
  create-index filename a1
The "i" processing code must be added to the input-conversion 
attribute of the corresponding attribute-defining item before the index may be 
used by the Update processor.

Create an index consisting of attribute 1 concatenated with attribute 2.
  create-index filename a1:2
Purpose
Related tcl.create-index
cruising
tcl.ud
pc.index.fdi
output-conversion
processing.codes
index.local
b-tree
up.input-conversion.adi
double.clutching
pc.a
pc.index.remote
pc
up.macro