Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mfv_getcaslib.sas File Reference

Returns the CAS caslib name for a given SAS libref. More...

Go to the source code of this file.

Detailed Description

Pure macro function. Reads sashelp.vlibnam and returns the sysvalue where sysname='Caslib' for the given libref. This is useful when the caslib name and libref name may differ.

Usage:

%put %mfv_getcaslib(lib=PUBLIC);
Parameters
[in]libSAS libref for which to return the CAS caslib name
Returns
Returns the CAS caslib name, or empty string if not found

Definition in file mfv_getcaslib.sas.