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.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.