Problem Note 20776: The METALIB procedure cannot register metadata for tables that contain
foreign key integrity constraints that refer to tables in another
library
PROC METALIB can currently access only a single library at one time.
Therefore, it is not possible to register metadata for a table that contains
a foreign key constraint which references a table in a different library.
If you attempt to register a table that does contain a foreign key like
this, you will receive the following error:
ERROR: File LIBREF.TABLENAME does not exist.
Currently, the only way to circumvent this problem is to include all
tables involved in the foreign key constraint in a single library.
Note that if you do this, you must still include all the tables on the
SELECT statement in PROC METALIB. If you do not include all the tables,
you will receive this warning and the foreign keys will not be
registered in the metadata:
WARNING: Processing primary key table object_id. Foreign key table
object_id2 was not selected, so no foreign key changes will
be applied for it.
Operating System and Release Information
SAS System | SAS Metadata Server | Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | |
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
Solaris for x64 | 9.1 TS1M3 SP4 | |
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | |
z/OS | 9.1 TS1M3 SP4 | |
Linux | 9.1 TS1M3 SP4 | |
Linux on Itanium | 9.1 TS1M3 SP4 | |
HP-UX IPF | 9.1 TS1M3 SP4 | |
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | |
OpenVMS Alpha | 9.1 TS1M3 SP4 | |
64-bit Enabled AIX | 9.1 TS1M3 SP4 | |
Tru64 UNIX | 9.1 TS1M3 SP4 | |
*
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: | |
Topic: | SAS Reference ==> Procedures ==> METALIB
|
Date Modified: | 2007-11-02 09:12:09 |
Date Created: | 2007-08-09 15:03:49 |