User's Reference > General > TCL and General User Commands > Command Reference > G > GET-INDEX

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

GET-INDEX (TCL) (M604806+GETINDEX.HTM)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

GET-INDEX

Opens an index for subsequent use by ENGLISH and certain TCL verbs. Rather than generating a select list, as SELECT-INDEX does, GET-INDEX starts a traversal of the index to supply item IDs to the immediately-following English verb, as required. This improves performance when compared to SELECT-INDEX, particularly when using remote indexes, since it does not build a select list in advance.

Note that because GET-INDEX does not build a select list, the SAVE-LIST command cannot be used after a GET-INDEX.

Command Class

TCL-I command.

Syntax

GET-INDEX file-specifier index-name

Syntax Elements

file-specifier Specifies a file as defined in Conventions, except that file modifiers cannot be used because indexes are only definable on data sections.

index-name The name of the index.

See Also

SELECT-INDEX, ISELECT, ICOUNT.

RealityV15.1 (MoTW) Revision 7Comment on this topic