SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 66025: Registration of an Oracle, PostgrSQL or Amazon Redshift table to metadata might fail and could impact SAS® Customer Intelligence 6.6 solutions

DetailsHotfixAboutRate It

A failure might occur when you attempt to register an Oracle, a PostgreSQL, or an Amazon Redshift table to metadata. The following error messages are generated:

ERROR:  An exception has been encountered.
Please contact technical support and provide them with the following traceback information:
The SAS task name is [METALIB (2)]
ERROR:  Read Access Violation METALIB (2)
Exception occurred at (0799F17B)
Task Traceback
Address   Frame     (DBGHELP API Version 4.0 rev 5)
000000000799F17B  000000000EA0E5C0  sasmetas:tkvercn1+0x2E13B
0000000007986B31  000000000EA0E990  sasmetas:tkvercn1+0x15AF1
000000000798141F  000000000EA0F0C0  sasmetas:tkvercn1+0x103DF
00000000079740E6  000000000EA0FB20  sasmetas:tkvercn1+0x30A6
00000000022DA366  000000000EA0FB28  sashost:Main+0x11EA6
00000000022E0564  000000000EA0FF20  sashost:Main+0x180A4
00007FFAF24081F4  000000000EA0FF28  KERNEL32:BaseThreadInitThunk+0x14
00007FFAF2C5A251  000000000EA0FF58  ntdll:RtlUserThreadStart+0x21
NOTE: The SAS System stopped processing this step because of errors.

This issue can occur when you use any of the following methods to register the table:

  • SAS® Management Console 9.4M6
  • SAS® Data Integration Studio 4.904
  • the METALIB procedure

This issue manifests in any table which meets both of the following conditions:

  • A primary key definition is present in two columns of the parent table.
  • Two or more foreign keys are associated with this primary key in the parent table.

For example, this issue impacts the metadata registration of the Common Data Model CI_CAMP_GRP_PAGE table. 

In this particular case, the parent table CI_CAMP_GRP_PAGE has a primary key  that is associated with the two columns CAMPAIGN_GROUP_SK and PAGE_NM.  

A foreign-key reference is defined in each of these three child tables:

  • CI_CAMP_GRP_PAGE_CHAR_UDF
  • CI_CAMP_GRP_PAGE_DATE_UDF
  • CI_CAMP_GRP_PAGE_NUM_UDF

The problem affects Rev. 940_20w21 and requires a fix for environments that use Oracle, PostgreSQL, or Amazon Redshift.

To obtain a fix for Oracle, see SAS Note 65900, "Registering an Oracle table to the metadata might fail and generate an error."

To obtain a fix for PostgreSQL or Amazon Redshift, contact SAS Technical Support



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Real-Time Decision Manager64-bit Enabled AIX6.69.4 TS1M6
Microsoft® Windows® for x646.69.4 TS1M6
64-bit Enabled Solaris6.69.4 TS1M6
Linux for x646.69.4 TS1M6
SAS SystemSAS Marketing OptimizationLinux for x646.69.4 TS1M6
64-bit Enabled Solaris6.69.4 TS1M6
64-bit Enabled AIX6.69.4 TS1M6
Microsoft® Windows® for x646.69.4 TS1M6
SAS SystemSAS Customer Intelligence StudioMicrosoft® Windows® for x646.69.4 TS1M6
Microsoft Windows 8 Enterprise 32-bit6.69.4 TS1M6
Microsoft Windows 8 Enterprise x646.69.4 TS1M6
Microsoft Windows 8 Pro 32-bit6.69.4 TS1M6
Microsoft Windows 8 Pro x646.69.4 TS1M6
Microsoft Windows 8.1 Enterprise 32-bit6.69.4 TS1M6
Microsoft Windows 8.1 Enterprise x646.69.4 TS1M6
Microsoft Windows 8.1 Pro 32-bit6.69.4 TS1M6
Microsoft Windows 8.1 Pro x646.69.4 TS1M6
Microsoft Windows 106.69.4 TS1M6
Microsoft Windows Server 2012 Datacenter6.69.4 TS1M6
Microsoft Windows Server 2012 R2 Datacenter6.69.4 TS1M6
Microsoft Windows Server 2012 R2 Std6.69.4 TS1M6
Microsoft Windows Server 2012 Std6.69.4 TS1M6
Microsoft Windows Server 20166.69.4 TS1M6
Microsoft Windows Server 20196.69.4 TS1M6
Windows 7 Enterprise 32 bit6.69.4 TS1M6
Windows 7 Enterprise x646.69.4 TS1M6
Windows 7 Home Premium 32 bit6.69.4 TS1M6
Windows 7 Home Premium x646.69.4 TS1M6
Windows 7 Professional 32 bit6.69.4 TS1M6
Windows 7 Professional x646.69.4 TS1M6
Windows 7 Ultimate 32 bit6.69.4 TS1M6
Windows 7 Ultimate x646.69.4 TS1M6
64-bit Enabled AIX6.69.4 TS1M6
64-bit Enabled Solaris6.69.4 TS1M6
HP-UX IPF6.69.4 TS1M6
Linux for x646.69.4 TS1M6
Solaris for x646.69.4 TS1M6
SAS SystemSAS Marketing Automation ServerLinux for x646.69.4 TS1M6
64-bit Enabled Solaris6.69.4 TS1M6
64-bit Enabled AIX6.69.4 TS1M6
Microsoft® Windows® for x646.69.4 TS1M6
* 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.