- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello Anne,
Does this help??
Library - Extract metadata
https://communities.sas.com/t5/Administration-and-Deployment/Library-Extract-metadata/td-p/676885
Cheers,
Koen
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello Anne,
Does this help??
Library - Extract metadata
https://communities.sas.com/t5/Administration-and-Deployment/Library-Extract-metadata/td-p/676885
Cheers,
Koen
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Koen,
Exactly what I needed 😊!
Cheers
Anne.