![]() | ![]() | ![]() | ![]() | ![]() |
You might receive the following error if you try to reference a table in a library that uses the DBSASTYPE= option:
ERROR: Incorrect length in SAS Metadata Repository for column Age.
This error occurs when you define a library in a SAS® metadata repository that references a third-party database management system and you subsequently assign that library in a SAS session using the META engine.
For example, the following code generates the error:
In addition, the following error occurs when you run this query and you do not select the column that was changed:
ERROR: Column does not exist: age
To circumvent the problem, you must first manually add the DBSASTYPE table option to library's properties in metadata by following these steps:
After you add the table option, you must also then manually change the column Type and Length attributes on the Columns tab of the table's Properties window in SAS Management Console.
Note:After you save the manual changes, you must not use the Update Metadata tool or the METALIB procedure to update the table metadata. Doing so removes the changes and reverts the table properties to their original settings.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Metadata Server | Microsoft® Windows® for x64 | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 |
Microsoft Windows Server 2008 | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 | ||
Windows 7 Enterprise 32 bit | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 | ||
Windows 7 Enterprise x64 | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 | ||
Windows 7 Home Premium 32 bit | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 | ||
Windows 7 Home Premium x64 | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 | ||
Windows 7 Professional 32 bit | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 | ||
Windows 7 Professional x64 | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 | ||
Windows 7 Ultimate 32 bit | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 | ||
Windows 7 Ultimate x64 | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 | ||
64-bit Enabled AIX | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 | ||
64-bit Enabled HP-UX | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 | ||
64-bit Enabled Solaris | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 | ||
HP-UX IPF | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 | ||
Linux | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 | ||
Linux for x64 | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 | ||
Solaris for x64 | 9.21 | 9.4_M4 | 9.2 TS2M2 | 9.4 TS1M4 |