Problem Note 65536: A WHERE expression on SAS® Scalable Performance Data Server (SPDS) tables in SAS® Enterprise Guide® fails with errors
Applying a WHERE expression on SAS Scalable Performance Data Server (SPDS) tables in SAS Enterprise Guide might fail with the following error:
Unable to Apply WHERE Expression: Requested function is not supported
Here is an example of another error that might appear:
Unable to Apply WHERE Expression: Record id is not in where statement history
2020-01-23 12:05:36,373 [1] DEBUG SAS.EG.DataAccess.DataModel.DataAccessor [(null)] - Attempting to open data set "CLASS4" with access flags "17" and options "OBS=10000 WHERE=(Name='Alfred')". 2020-01-23 12:05:37,376 [1] WARN SAS.EG.DataAccess.DataModel.DataAccessor [(null)] - The following exception occurred attempting to open data set "CLASS4": System.Runtime.InteropServices.COMException (0x80041001): <?xml version="1.0" ?><Exceptions><Exception><SASMessage severity="Error">Record id is not in where statement history.</SASMessage></Exception></Exceptions> at SAS.EC.IntTechWrapper.WrapperManager.ProcessCallEnd(WrapperBase wrapper, String className, String methodName, TaskCompletionSource`1 workComplete, Exception exOriginal) at SAS.EC.IntTechWrapper.SAS.IDataSetClass.ReadRecords(Int32 Flags, Int32 BindKey, Array& PositionBookmark, Int32 NumberRowsToRead, Int32 RowsOffset, Array& CharacterValues, Array& NumericValues, Array& MissingNumericValues, Array& Bookmarks, Int32& Status)at SAS.EG.DataAccess.DataModel.DaForSasData.<OpenDataset>g__IsDataSPDSWithConstraints|72_0(ILibref libref, Int32 pSasAccessFlags, String tableName, String strDataSetOpenOptions, Array _arPasswords) at SAS.EG.DataAccess.DataModel.DaForSasData.OpenDataset()
As a workaround, you might instead use the SQL procedure on the same table in program code, or you might use the Query Builder in SAS Enterprise Guide.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Enterprise Guide | Microsoft® Windows® for x64 | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 8 Enterprise 32-bit | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 8 Enterprise x64 | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 8 Pro 32-bit | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 8 Pro x64 | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 8.1 Enterprise 32-bit | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 8.1 Enterprise x64 | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 8.1 Pro 32-bit | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 8.1 Pro x64 | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows 10 | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows Server 2012 Datacenter | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows Server 2012 R2 Datacenter | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows Server 2012 R2 Std | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows Server 2012 Std | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows Server 2016 | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Microsoft Windows Server 2019 | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Enterprise 32 bit | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Enterprise x64 | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Home Premium 32 bit | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Home Premium x64 | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Professional 32 bit | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Professional x64 | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Ultimate 32 bit | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
Windows 7 Ultimate x64 | 8.2 | 8.3 | 9.4 TS1M6 | 9.4 TS1M7 |
*
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.
Applying a WHERE expression on SAS Scalable Performance Data Server (SPDS) tables in SAS Enterprise Guide might fail with "Requested function is not supported" or "Record id is not in where statement history." As a workaround, use PROC SQL or the Query Builder.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2020-06-23 11:02:11 |
Date Created: | 2020-02-11 04:52:26 |