METALIB Procedure

Example 5: Adding a Prefix to New Metadata Names

Features:

PREFIX= statement

To add a prefix to the name of a new metadata object during an update, specify the PREFIX statement.
In this example, the user runs an update on December 15, and wants to add that date to any new metadata object. A new table has been added to the SAS library. In the data source, the table is named ABBA. In the metadata, the table definition is named December15ABBA.
Submit the PREFIX statement with PROC METALIB. If any new metadata object is defined, the metadata name (the Name= attribute) begins with the specified prefix.
proc metalib;
    omr (library="MyTestLibrary");
	   select (abba);
   prefix="December15";
   report;
run;

SAS Output

SAS Output: Prefix on Metadata Name Value