BookmarkSubscribeRSS Feed
Albert0
Quartz | Level 8

Hi All,

 

It's my first time using proc metalib statement and I just want to know what is the behavior of the code below ;

 

proc metalib;

omr (library="/SAS/SASVisualAnalytics/LASR" ); update_rule=(delete);

select (AB18_AddressLog);

report;

run;

 

Is it just deletes the AB18_AddressLog metadata under the Directory?

 

Thanks.

 

Albert0

1 REPLY 1
ErikLund_Jensen
Rhodochrosite | Level 12

Hi Albert0

 

As far as I know the table's metadata entry is deleted if the corresponding physical table is NOT found. If the table exists, the medata entry for the table's columns are updated to be in sync with the actual physical columns.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1036 views
  • 0 likes
  • 2 in conversation