![]() | ![]() | ![]() | ![]() | ![]() |
If you try to access an SQL view in a PROC or DATA step using a libref that was allocated with the META Libname engine, the following error occurs and the SAS session becomes unresponsive:
This problem occurs only if the SQL view was created with the USING clause to embed a LIBNAME in the view definition. For example, suppose you defined the following view from the table INVALID_MEMPTR_TEST, and imported the view into metadata:
The error occurs when you allocate a library using the META engine and attempt to read the view. For example:
As a circumvention to the error, either remove the USING clause from the view definition, or allocate the library with the appropriate SAS or DBMS engine rather than the META engine.
See SAS Note 36636 "'ERROR: Invalid memptr' occurs when accessing an SQL view defined with an embedded libname using the META engine" for a related problem.
Select the Hot Fix tab in this note to access the hot fix for this issue.
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | Base SAS | Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |||
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
z/OS | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Linux | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Linux on Itanium | 9.1 TS1M3 SP4 | |||
OpenVMS Alpha | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Tru64 UNIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 |