BookmarkSubscribeRSS Feed
dhruvakumar
Obsidian | Level 7

Hi ALL,

 

Please help to provide how extract the data register in the  metadata and compare with physical data in SAS Enterprise Guide.

 

Many Thanks 

1 REPLY 1
ChrisHemedinger
Community Manager

Check the Tools->Update Library Metadata task.  It allows you to create a report of your libraries/tables according to what metadata shows, and report on the differences.

 

It generates code like this:

 

/* assign library using metaout=data */
/* resulting library shows all physical tables */
libname _temp meta library="My Library" metaout=data;

/* show report of changes that *would* be made */
proc metalib;
  omr (library="My Library");
  update_rule=(delete);
  report;
  noexec;
run;

libname _temp clear;

 

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 987 views
  • 2 likes
  • 2 in conversation