
![]() |
|

Information |
| Title | Errors errors 16488, 5071 or 995 after adding active indexes online or building with the inactiveindexes options |
|---|
| URL Name | 000051550 |
|---|
| Article Number | 000167296 |
|---|
| Environment | Product: OpenEdge
Version: 11.1.x to 11.7.5, 12.0, 12.1, 12.2 OS: All supported platforms |
|---|
| Question/Problem Description |
|
|---|
| Steps to Reproduce | Load the following active index to a sports database online:
ADD INDEX "idxnew" ON "customer" AREA "Customer/Order Area" # INACTIVE INDEX-FIELD "City" ASCENDING . PSC cpstream=UTF-8 . 0000000107 Run the following ABL query, which shows the new index has the _index._active flag "active": find _file where _file-name eq "customer" no-lock. FIND LAST customer. display name city st. find _index of _file where _index-name eq "idxnew" no-lock no-error. if avail(_index) then display _index._active label "idxnew?". Run the following ABL Code, which uses the new index based on the WHERE clause and fails with error 16488: find _file where _file-name eq "customer" no-lock. FOR EACH customer WHERE city = "Fairbanks": DISPLAY name city st. find _index of _file where _index-name eq "idxnew" no-lock no-error. if avail(_index) then display _index._active label "idxnew?". END. |
|---|
| Clarifying Information |
|
|---|
| Error Message | Index <indexname>' of table <tablename> is not active. (16488)
Index <indexname> in table <tablename> is inactive. (5071) Index <index-name> is inactive and cannot be referenced. (995) No index was found. (16274) No indexes being rebuilt. (2783) |
|---|
| Defect Number | Defect PSC00307637|ADAS-10860 / ADAS-22571 |
|---|
| Enhancement Number |
|---|
| Cause |
|
|---|
| Resolution |
|
|---|
| Workaround |
|
|---|
| Notes |
|---|
| Keyword Phrase |
|---|
| Last Modified Date | 3/23/2021 6:27 PM |
|---|