Problem Note 14862: Error message containing garbage characters is generated with the SAS/ACCESS® Interface to Oracle
You might receive an error message containing garbage characters similar to the following when using the SAS/ACCESS Interface to Oracle:
libref ÿÿÿÿh¡ú
ERROR: Error in the LIBNAME statement
In this message, libref is the library reference for your LIBNAME statement.
Here is another example of how this problem manifests itself in the SAS log:
SASHELP "$P CODE
This error seems to be generated when the ORACLE_HOME environment variable is not set in the SAS session. Either you do not have ORACLE_HOME specified correctly in the system path under Windows. Or, under UNIX, the ORACLE_HOME environment variable is not set or not set correctly. Or, there might be a mixed Oracle installation.
To circumvent the problem under UNIX, set the ORACLE_HOME environment variable prior to invoking your SAS session. Or, add the environment variable to the sasenv/sasenv_local file located in the !SASROOT/bin directory (where !SASROOT is the location of your SAS installation).
To circumvent the problem under Windows, set the Windows SYSTEM PATH to contain the correct ORACLE_HOME.
To determine how environment variables are set for a SAS session with DATA step code, use FILENAME PIPE.
This error might also be issued when the Oracle installation is incorrect. In one customer scenario, they had mixed 32-bit and 64-bit Oracle libraries installed in the same client library directory. After the installation was corrected, this error stopped occurring. Another customer had permission issues in the Oracle client libraries directory. After the permissions were modified so that the libraries could be read by the users, this error stopped occurring.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to Oracle | Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 | |
Microsoft Windows NT Workstation | 9.1 TS1M3 | |
Microsoft Windows XP Professional | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 | |
HP-UX IPF | 9.1 TS1M0 | |
64-bit Enabled Solaris | 9.1 TS1M0 | |
Linux | 9.1 TS1M0 | |
64-bit Enabled HP-UX | 9.1 TS1M0 | |
64-bit Enabled AIX | 9.1 TS1M0 | |
Tru64 UNIX | 9.1 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: | low |
Topic: | Data Management ==> Data Sources ==> External Databases ==> Oracle SAS Reference ==> LIBNAME Engines
|
Date Modified: | 2023-04-14 16:43:51 |
Date Created: | 2005-03-29 09:27:02 |