Previous Page | Next Page

METALIB Procedure

Example 4: Adding a Prefix to New Metadata Names


Procedure features:

PREFIX= statement


To add a prefix to the names of new metadata objects during an update, specify the PREFIX statement.


Program

In this example, the user runs an update on November 30 and wants to add that date to any new metadata. A new table has been added to the SAS library. In the data source, the table is named Q3Sales. In the metadata, the table definition is named November30Q3Sales.

 Note about code
proc metalib;
    omr (library="mylibrary");
   prefix="November30";
   report;
run;

SAS Output: Listing

Metadata Name                  Metadata ID          SAS Name

November30Q3sales              A58LN5R2.AR00066A    Q3sales

Previous Page | Next Page | Top of Page