Problem Note 51850: The SASEHAVR LIBNAME engine generates error messages when run in batch mode
Error messages like the following might be generated when using the SASEHAVR LIBNAME engine in batch mode:
ERROR: Image SASEHAVR found but not loadable.
ERROR: Operating system error 161 occurred.
ERROR: Error in the LIBNAME statement.
These errors can occur even when the SASEHAVR LIBNAME engine is used successfully in an interactive SAS® session.
To resolve the problem, follow these steps to change the Windows registry:
Warning: Changes in the Windows registry can render your system unusable and require that you reinstall the operating system. Always back up your registry before you make any registry changes. For assistance, see Windows Help, Microsoft documentation, or the Microsoft Windows website. SAS is not responsible when you edit the Windows registry.
- Open the Windows Registry Editor:
- Select Start ► Run.
- Enter regedit in the search box.
- Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths.
- Look for the key SAS.EXE. There are two entries under SAS.EXE. Remove the quotation marks from the beginning and end of the paths for both entries.
- Reboot your Windows PC and submit the SAS code in batch mode.
Operating System and Release Information
SAS System | Base SAS | Microsoft Windows Server 2008 | 9.3 TS1M0 | 9.4 TS1M1 |
Microsoft Windows Server 2003 for x64 | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M0 | |
Microsoft® Windows® for x64 | 9.3 TS1M0 | 9.4 TS1M1 |
Microsoft Windows Server 2008 R2 | 9.3 TS1M0 | 9.4 TS1M1 |
Microsoft Windows Server 2008 for x64 | 9.3 TS1M0 | 9.4 TS1M1 |
Microsoft Windows XP Professional | 9.3 TS1M0 | |
Windows 7 Enterprise 32 bit | 9.3 TS1M0 | |
Windows 7 Enterprise x64 | 9.3 TS1M0 | 9.4 TS1M1 |
Windows 7 Home Premium 32 bit | 9.3 TS1M0 | |
Windows 7 Home Premium x64 | 9.3 TS1M0 | |
Windows 7 Professional 32 bit | 9.3 TS1M0 | |
Windows 7 Professional x64 | 9.3 TS1M0 | 9.4 TS1M1 |
Windows 7 Ultimate 32 bit | 9.3 TS1M0 | |
Windows 7 Ultimate x64 | 9.3 TS1M0 | |
Windows Vista | 9.3 TS1M0 | |
Windows Vista for x64 | 9.3 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: | medium |
Date Modified: | 2013-12-18 15:32:03 |
Date Created: | 2013-12-17 15:27:43 |