Problem Note 14862: Error message containing garbage characters generated with the
SAS/ACCESS Interface to Oracle
You may receive an error message containing garbage characters when
using the SAS/ACCESS Interface to Oracle. The error message may
resemble:
libref ÿÿÿÿh¡ú
ERROR: Error in the LIBNAME statement
where libref is the library reference for your LIBNAME statement.
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 on WINDOWS or on
UNIX the ORACLE_HOME environment variable is not set or not set
correctly, OR there may be a mixed Oracle installation.
To correct the problem on 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 correct the problem on WINDOWS, set the windows SYSTEM PATH to
contain the correct ORACLE_HOME.
The best way to determine exactly how environment variables are set for
a SAS session with Data Step code with a FILENAME PIPE. Please see
Usage Note #014758 .
This error may 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. Once the
installation was corrected this error disappeared. Another customer had
permission issues in the Oracle client libraries directory. Once the
permissions were modified so the libraries could be read by the user(s),
this error disappeared.
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: | 2008-07-14 11:54:19 |
| Date Created: | 2005-03-29 09:27:02 |