User's Reference > General > TCL and General User Commands > Command Reference > D > DELETE-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.

Reality V15.0 ()

DELETE-INDEX (TCL) (m604806+deleteindex.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

DELETE-INDEX

Deletes an index section previously generated by the CREATE-INDEX command.

Note: The index definition item, if any, is not deleted. See Comments below.

Command Class

TCL-I command

Syntax

DELETE-INDEX file-name{,data-section} index-name

Syntax Elements

file-name The name of the file containing the index to be deleted.

data-section The name of the data section with which the index is associated. Must immediately follow file-name and be preceded by a comma. If omitted, the default data section is assumed.

index-name The name of the index to be deleted.

Restrictions

Requires SYS1 privileges.

Comments

If the index was created from an index definition, this remains in the file's dictionary. To remove the index definition, you must use the English command EDELETE with following syntax:

EDELETE DICT file-name 'index-name'

Ensure that you use the correct case for the index name and enclose it in single quotes.

See Indexing for more information on indexing.

Example

The following command deletes index GT200 of file SALESTAFF, but it does not delete the index definition for GT200.

:DELETE-INDEX SALESTAFF GT200

If there is an index definition for GT200, this can be deleted by entering:

:EDELETE DICT SALESTAFF 'GT200'

See Also

Indexing, DEFINE-INDEX, CREATE-INDEX, VERIFY-INDEX, EDELETE.

RealityV15.0Comment on this topic