Problem Note 46502: PATH= option on LIBNAME statement might cause in-database processing to fail
Improper quoting of the PATH= option on a LIBNAME statement that accesses an ORACLE database might cause in-database processing to fail. Proper quoting needs to be done at the ACCESS engine layer. The following LIBNAME statement demonstrates the problem:
LIBNAME TEST ORACLE PATH='@TESTABC' DBPROMPT=YES SQLGENERATION=DBMS
SCHEMA=UMIARC;
The following messages might appear in the SAS log:
ERROR: Error during in-database processing.
ERROR: General error ORA-12154: TNS:could not resolve the connect
identifier specified
In this case, removing the '@' from the PATH= option allows in-database processing to complete successfully.
Operating System and Release Information
| SAS System | SAS/ACCESS Interface to Oracle | z/OS | 9.3 | | 9.3 TS1M0 | |
| Microsoft® Windows® for x64 | 9.3 | | 9.3 TS1M0 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.3 | | 9.3 TS1M0 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.3 | | 9.3 TS1M0 | |
| Microsoft Windows Server 2003 Standard Edition | 9.3 | | 9.3 TS1M0 | |
| Microsoft Windows Server 2003 for x64 | 9.3 | | 9.3 TS1M0 | |
| Microsoft Windows Server 2008 | 9.3 | | 9.3 TS1M0 | |
| Microsoft Windows Server 2008 for x64 | 9.3 | | 9.3 TS1M0 | |
| Microsoft Windows XP Professional | 9.3 | | 9.3 TS1M0 | |
| Windows 7 Enterprise 32 bit | 9.3 | | 9.3 TS1M0 | |
| Windows 7 Enterprise x64 | 9.3 | | 9.3 TS1M0 | |
| Windows 7 Home Premium 32 bit | 9.3 | | 9.3 TS1M0 | |
| Windows 7 Home Premium x64 | 9.3 | | 9.3 TS1M0 | |
| Windows 7 Professional 32 bit | 9.3 | | 9.3 TS1M0 | |
| Windows 7 Professional x64 | 9.3 | | 9.3 TS1M0 | |
| Windows 7 Ultimate 32 bit | 9.3 | | 9.3 TS1M0 | |
| Windows 7 Ultimate x64 | 9.3 | | 9.3 TS1M0 | |
| Windows Vista | 9.3 | | 9.3 TS1M0 | |
| Windows Vista for x64 | 9.3 | | 9.3 TS1M0 | |
| 64-bit Enabled AIX | 9.3 | | 9.3 TS1M0 | |
| 64-bit Enabled HP-UX | 9.3 | | 9.3 TS1M0 | |
| 64-bit Enabled Solaris | 9.3 | | 9.3 TS1M0 | |
| HP-UX IPF | 9.3 | | 9.3 TS1M0 | |
| Linux | 9.3 | | 9.3 TS1M0 | |
| Linux for x64 | 9.3 | | 9.3 TS1M0 | |
| Solaris for x64 | 9.3 | | 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 |
| Topic: | SAS Reference ==> Statements ==> Data Access ==> LIBNAME, SAS/ACCESS
|
| Date Modified: | 2012-05-07 09:50:14 |
| Date Created: | 2012-05-07 09:11:21 |