Problem Note 57935: Accessing the META LIBNAME engine library or performing update table metadata actions returns "ERROR: Invalid option name..."
Using metadata defined libraries to access data or update table metadata might return the message:
ERROR: Invalid option name special-character.
The error can occur when you run any of the following:
- A LIBNAME statement that references the META LIBNAME engine
- The update table metadata action from within SAS® Management Console, SAS® Data Integration Studio, and other clients
- The METALIB procedure
The error can occur when a component of the Library definition, such as the DATASRC name for an ODBC data source, contains special characters, such as a blank space, hyphen, ampersand, and so on.
Follow one of these steps to help determine which component might be causing the problem.
proc metalib TL=16383;
Then, resubmit the step.
The result is trace data written to the SAS log. Look at the query_connect: db connect options for unquoted strings containing special characters:
(MSCMLB) query_connect: Enter
(MSCMLB) query_connect:db connect options: DATASRC=DEMO-ODBC-DATASOURCE USER="sasdemo" PASSWORD='XXXXXXXX'
(MSCMLB) query_connect: Exit; Return Code is -2147469290
To circumvent the issue, enclose the value in the metadata in double quotation marks. For example, if the data source name of an ODBC data source contains a hyphen, add quotation marks around the data source name in the Connection properties of your database server object. To make this change, complete these steps:
- Open the Server Manager in SAS Management Console.
- Select the server object that is associated with the library.
- Open the Properties for the Connection, and click the Options tab.
Operating System and Release Information
SAS System | SAS Metadata Server | z/OS | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft® Windows® for x64 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows 8 Pro x64 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro x64 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows 10 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows Server 2008 R2 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Std | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Std | 9.4 TS1M0 | 9.4 TS1M4 |
Windows 7 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M4 |
Windows 7 Professional x64 | 9.4 TS1M0 | 9.4 TS1M4 |
64-bit Enabled AIX | 9.4 TS1M0 | 9.4 TS1M4 |
64-bit Enabled Solaris | 9.4 TS1M0 | 9.4 TS1M4 |
HP-UX IPF | 9.4 TS1M0 | 9.4 TS1M4 |
Linux for x64 | 9.4 TS1M0 | 9.4 TS1M4 |
Solaris for x64 | 9.4 TS1M0 | 9.4 TS1M4 |
*
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: | 2017-04-13 10:36:46 |
Date Created: | 2016-03-25 17:13:51 |