Problem Note 43381: File locking and access problems occur when saving an environment in a PROC RISK step
When you run a PROC RISK step that saves a risk environment, you might encounter error messages like the following in the SAS log:
ERROR: A lock is not available for libref.filename.file-type.
ERROR: Permanent copy of file libref.filename.INDEX was deleted.
ERROR: File libref.filename.INDEX is not open.
ERROR: Unable to create index on data set "filename".
ERROR: Unable to create or assign libref libref to path "path".
These errors are known to occur when a third-party application process, such as an anti-virus scanning program, has a SAS file locked when SAS attempts to access the file.
Check your system for any third-party applications that access SAS files, and ensure that they do not access SAS files while a SAS program executes. On Windows, you can use Process Monitor from Windows Sysinternals to help identify processes that lock the SAS files when the errors occur.
Operating System and Release Information
| SAS System | SAS Risk Dimensions Enterprise Edition | Microsoft® Windows® for x64 | 5.3 | | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Datacenter Edition | 5.3 | | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Enterprise Edition | 5.3 | | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Standard Edition | 5.3 | | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 for x64 | 5.3 | | 9.2 TS2M3 | |
| Microsoft Windows Server 2008 | 5.3 | | 9.2 TS2M3 | |
| Microsoft Windows Server 2008 for x64 | 5.3 | | 9.2 TS2M3 | |
| Microsoft Windows XP Professional | 5.3 | | 9.2 TS2M3 | |
| Windows 7 Enterprise 32 bit | 5.3 | | 9.2 TS2M3 | |
| Windows 7 Enterprise x64 | 5.3 | | 9.2 TS2M3 | |
| Windows 7 Home Premium 32 bit | 5.3 | | 9.2 TS2M3 | |
| Windows 7 Home Premium x64 | 5.3 | | 9.2 TS2M3 | |
| Windows 7 Professional 32 bit | 5.3 | | 9.2 TS2M3 | |
| Windows 7 Professional x64 | 5.3 | | 9.2 TS2M3 | |
| Windows 7 Ultimate 32 bit | 5.3 | | 9.2 TS2M3 | |
| Windows 7 Ultimate x64 | 5.3 | | 9.2 TS2M3 | |
| Windows Vista | 5.3 | | 9.2 TS2M3 | |
| Windows Vista for x64 | 5.3 | | 9.2 TS2M3 | |
| 64-bit Enabled AIX | 5.3 | | 9.2 TS2M3 | |
| 64-bit Enabled HP-UX | 5.3 | | 9.2 TS2M3 | |
| 64-bit Enabled Solaris | 5.3 | | 9.2 TS2M3 | |
| HP-UX IPF | 5.3 | | 9.2 TS2M3 | |
| Linux | 5.3 | | 9.2 TS2M3 | |
| Linux for x64 | 5.3 | | 9.2 TS2M3 | |
| Solaris for x64 | 5.3 | | 9.2 TS2M3 | |
*
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: | medium |
| Date Modified: | 2011-06-21 18:15:51 |
| Date Created: | 2011-05-31 15:46:14 |