Macros for SAS Application Developers
https://github.com/sasjs/core
mf_getschema.sas File Reference

Returns the database schema of a SAS library. More...

Go to the source code of this file.

Detailed Description

Usage:

%put %mf_getschema(MYDB);

returns:

dbo

Parameters
[in]librefLibrary reference (also accepts a 2 level libds ref).
Returns
output returns the library schema for the FIRST library encountered
Warning
will only return the FIRST library schema - for concatenated libraries, with different schemas, inconsistent results may be encountered.
Version
9.2
Author
Allan Bowe

Definition in file mf_getschema.sas.