Dear all,
I am requested to write some (one shot) user-written code in DI Studio to investigate a data quality issue. The customer has provided me with a .csv file which contains (among other things) the engine, libname, libref, directory (path), tablename and column name of the fields to be analyzed. When the engine is BASE I can easily recreate the libname statement programmatically from the information above, but when the engine is not BASE (Oracle, DB2, ODBC, ...) that does not work. Hence I'm wondering (and asking you) whether there is any way to programmatically retrieve the libname statement (metadata) corresponding to the libname, i.e. the libname statement I get when I right-click the library in the DI Studio environment.
Many thanks in advance!
Cheers
Anne.
Hello Anne,
Does this help??
Library - Extract metadata
https://communities.sas.com/t5/Administration-and-Deployment/Library-Extract-metadata/td-p/676885
Cheers,
Koen
Hello Anne,
Does this help??
Library - Extract metadata
https://communities.sas.com/t5/Administration-and-Deployment/Library-Extract-metadata/td-p/676885
Cheers,
Koen
Thank you Koen,
Exactly what I needed 😊!
Cheers
Anne.
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.
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.
Ready to level-up your skills? Choose your own adventure.