By default, regardless
of whether you specify the REPORT statement, the METALIB procedure
writes a summary to the SAS log of changes that were made to the metadata.
Here is an example:
NOTE: A total of 10 tables were analyzed for library "mylib".
NOTE: Metadata for 2 tables was updated.
NOTE: Metadata for 0 tables was added.
NOTE: Metadata for 7 tables matched the data sources.
NOTE: 1 other tables were not processed due to error or UPDATE_RULE.
If you specify the REPORT
statement, a detailed report is written to the SAS
Output window.
The report provides the same summary as the SAS log, and also lists
the changes to tables and their Column, ForeignKey, Index, KeyAssociation,
and UniqueKey objects.
Some procedure arguments
add information to the report.
-
If you specify UPDATE_RULE=(DELETE),
the report lists the number of table definitions that were deleted
from metadata.
-
If you specify the SELECT or EXCLUDE
statement, the report lists the number of tables that were not found
in either source (data source or metadata).
-
If you specify MATCHING in the
REPORT statement, the report lists the tables that match the metadata.
-
If you specify TYPE=DETAIL in the
REPORT statement, and you specify the IMPACT_LIMIT statement, the
report lists the number of tables that were not processed because
of large impact. It also lists Job and Transformation objects that
are directly related to the table that is being processed.
If you specify the NOEXEC
statement, the procedure does not make any of the changes to the metadata.
The SAS log and
Output window summarize the
metadata changes that would have been applied if NOEXEC had not been
specified.