DROP INDEX |
Drop Key from Keyed File |
DROP INDEX {keynumber | keyname$} FROM filename$ [,ERR=stmtref]
filename$ |
Name of the file from which the key will be dropped. String expression. |
Mandatory keyword, not case sensitive. | |
keyname$ |
Name of the key to drop (if assigned). String expression. |
keynumber |
Key number (KNO value) to drop. |
stmtref |
Program line number or statement label to which to transfer control. |
The DROP INDEX directive drops keys from a PxPlus Keyed file without having to rebuild the file.
When dropping keys from a file:
ADD INDEX Add Key to Keyed File
RENAME..INDEX Rename Keys in Keyed File
drop index 3 from "cstfile"
drop index CustName from "cstfile"