Problem Note 50503: A table in the Metadata Library Engine library might not close after you access it with an SQL view that is created from an SQL procedure step
A table in the Metadata Library Engine (MLE) library might not close after you access it with an SQL view. This problem can occur under the following circumstances:
- You have a data table in an MLE library.
- You use an SQL view in that library or in another MLE library to read the data table.
If you use any SAS DATA or PROC step to read from the SQL view, the data table does not close properly. In addition, if you use a subsequent step to replace the underlying data table, the following error might be generated:
ERROR: Close of OUTPUT file XXXXX.XXXXX.DATA failed; another copy of the file is still open for INPUT;
file not replaced.
This problem can also occur in situations where the number of observations or matches are written out in a final PROC SQL step. A small number of observations that are written might not produce the error. However, increased numbers of observations can produce an error similar to the following:
ERROR: Unable to reopen file XXXX.XXXX.VIEW.
To circumvent this problem:
- De-assign the MLE library before you run the PROC SQL step.
Note: The metadata security is bypassed when the MLE library is de-assigned.
- Re-assign the MLE library after you run the PROC SQL step.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | Base SAS | Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21_M1 | | | |
Microsoft Windows Server 2008 for x64 | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
z/OS | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.21_M1 | | | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21_M1 | | | |
Microsoft® Windows® for x64 | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.21_M1 | | | |
Microsoft Windows 8 Pro 32-bit | 9.21_M1 | | | |
Microsoft Windows 8 Enterprise x64 | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows 8 Enterprise 32-bit | 9.21_M1 | | | |
Microsoft Windows 8 Pro x64 | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows 8.1 Enterprise x64 | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows 8.1 Pro | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows 8.1 Pro 32-bit | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows 95/98 | 9.21_M1 | | | |
Microsoft Windows 2000 Advanced Server | 9.21_M1 | | | |
Microsoft Windows 2000 Datacenter Server | 9.21_M1 | | | |
Microsoft Windows 2000 Server | 9.21_M1 | | | |
Microsoft Windows 2000 Professional | 9.21_M1 | | | |
Microsoft Windows NT Workstation | 9.21_M1 | | | |
Microsoft Windows Server 2003 Datacenter Edition | 9.21_M1 | | | |
Microsoft Windows Server 2003 Enterprise Edition | 9.21_M1 | | | |
Microsoft Windows Server 2003 Standard Edition | 9.21_M1 | | | |
Microsoft Windows Server 2003 for x64 | 9.21_M1 | | | |
Microsoft Windows Server 2008 | 9.21_M1 | | | |
Microsoft Windows Server 2008 R2 | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows Server 2012 Datacenter | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows Server 2012 R2 Datacenter | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows Server 2012 R2 Std | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows Server 2012 Std | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Microsoft Windows XP Professional | 9.21_M1 | | | |
Windows 7 Enterprise 32 bit | 9.21_M1 | | | |
Windows 7 Enterprise x64 | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Windows 7 Home Premium 32 bit | 9.21_M1 | | | |
Windows 7 Home Premium x64 | 9.21_M1 | | | |
Windows 7 Professional 32 bit | 9.21_M1 | | | |
Windows 7 Professional x64 | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Windows 7 Ultimate 32 bit | 9.21_M1 | | | |
Windows 7 Ultimate x64 | 9.21_M1 | | | |
Windows Millennium Edition (Me) | 9.21_M1 | | | |
Windows Vista | 9.21_M1 | | | |
Windows Vista for x64 | 9.21_M1 | | | |
64-bit Enabled AIX | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
64-bit Enabled HP-UX | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
64-bit Enabled Solaris | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
HP-UX IPF | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Linux | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Linux for x64 | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
OpenVMS on HP Integrity | 9.21_M1 | 9.4 | | 9.4 TS1M0 |
Solaris for x64 | 9.21_M1 | 9.4 | | 9.4 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.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2014-10-17 11:56:27 |
Date Created: | 2013-07-24 16:26:41 |