SUPPORT / SAMPLES & SAS NOTES
 

Support

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

DetailsHotfixAboutRate It

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:

  1. 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.

  2. 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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemBase SASMicrosoft Windows Server 2003 Datacenter 64-bit Edition9.21_M1
Microsoft Windows Server 2008 for x649.21_M19.49.4 TS1M0
z/OS9.21_M19.49.4 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.21_M1
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.21_M1
Microsoft® Windows® for x649.21_M19.49.4 TS1M0
Microsoft Windows XP 64-bit Edition9.21_M1
Microsoft Windows 8 Pro 32-bit9.21_M1
Microsoft Windows 8 Enterprise x649.21_M19.49.4 TS1M0
Microsoft Windows 8 Enterprise 32-bit9.21_M1
Microsoft Windows 8 Pro x649.21_M19.49.4 TS1M0
Microsoft Windows 8.1 Enterprise 32-bit9.21_M19.49.4 TS1M0
Microsoft Windows 8.1 Enterprise x649.21_M19.49.4 TS1M0
Microsoft Windows 8.1 Pro9.21_M19.49.4 TS1M0
Microsoft Windows 8.1 Pro 32-bit9.21_M19.49.4 TS1M0
Microsoft Windows 95/989.21_M1
Microsoft Windows 2000 Advanced Server9.21_M1
Microsoft Windows 2000 Datacenter Server9.21_M1
Microsoft Windows 2000 Server9.21_M1
Microsoft Windows 2000 Professional9.21_M1
Microsoft Windows NT Workstation9.21_M1
Microsoft Windows Server 2003 Datacenter Edition9.21_M1
Microsoft Windows Server 2003 Enterprise Edition9.21_M1
Microsoft Windows Server 2003 Standard Edition9.21_M1
Microsoft Windows Server 2003 for x649.21_M1
Microsoft Windows Server 20089.21_M1
Microsoft Windows Server 2008 R29.21_M19.49.4 TS1M0
Microsoft Windows Server 2012 Datacenter9.21_M19.49.4 TS1M0
Microsoft Windows Server 2012 R2 Datacenter9.21_M19.49.4 TS1M0
Microsoft Windows Server 2012 R2 Std9.21_M19.49.4 TS1M0
Microsoft Windows Server 2012 Std9.21_M19.49.4 TS1M0
Microsoft Windows XP Professional9.21_M1
Windows 7 Enterprise 32 bit9.21_M1
Windows 7 Enterprise x649.21_M19.49.4 TS1M0
Windows 7 Home Premium 32 bit9.21_M1
Windows 7 Home Premium x649.21_M1
Windows 7 Professional 32 bit9.21_M1
Windows 7 Professional x649.21_M19.49.4 TS1M0
Windows 7 Ultimate 32 bit9.21_M1
Windows 7 Ultimate x649.21_M1
Windows Millennium Edition (Me)9.21_M1
Windows Vista9.21_M1
Windows Vista for x649.21_M1
64-bit Enabled AIX9.21_M19.49.4 TS1M0
64-bit Enabled HP-UX9.21_M19.49.4 TS1M0
64-bit Enabled Solaris9.21_M19.49.4 TS1M0
HP-UX IPF9.21_M19.49.4 TS1M0
Linux9.21_M19.49.4 TS1M0
Linux for x649.21_M19.49.4 TS1M0
OpenVMS on HP Integrity9.21_M19.49.4 TS1M0
Solaris for x649.21_M19.49.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.