SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 35492: Could not find value or Record ID (RID) to do delete on index

DetailsHotfixAboutRate It

Because of the REUSE option, as observations are deleted from the data file, the empty pages are put on an available space chain. When the data set is re-populated, the pages are pulled off the available space chain in no particular order. The record id (RID), which is indexed, consists of the page number of the observation in the data file followed by some other fields.

In the test cases, the indexed variable only has one value, so the RIDs for that value are put into the index in a multiple occurrence chain, which is kept in ascending order. When an index is built initially for a REUSE table, or for any insertions for a non-REUSE table, the RIDs are given to the index in ascending order.

In the case of REUSE, since the data file pages may not in order, the RIDs must be inserted into the proper place in the multiple occurrence chain to keep it in ascending order. If the RIDs are not in order, the delete code may not be able to find the RID to delete, as in the test cases. There is a bug in the insertion code for multiple occurrences that is allowing RIDs to be placed into the chain out of order.

Select the Hot Fix tab in this note to access the hot fix for this problem.

Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.1 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M0
Microsoft Windows 2000 Advanced Server9.1 TS1M0
Microsoft Windows 2000 Datacenter Server9.1 TS1M0
Microsoft Windows 2000 Server9.1 TS1M0
Microsoft Windows 2000 Professional9.1 TS1M0
Microsoft Windows NT Workstation9.1 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M0
Microsoft Windows Server 2003 Standard Edition9.1 TS1M0
Microsoft Windows XP Professional9.1 TS1M0
64-bit Enabled AIX9.1 TS1M0
64-bit Enabled HP-UX9.1 TS1M0
64-bit Enabled Solaris9.1 TS1M0
HP-UX IPF9.1 TS1M0
Linux9.1 TS1M0
OpenVMS Alpha9.1 TS1M0
Tru64 UNIX9.1 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.