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

Retrieves a value from a dataset. If no filter supplied, then first record is used. More...

Go to the source code of this file.

Detailed Description

Be sure to quote() your where clause. Example usage:

%put %mf_getvalue(sashelp.class,name,filter=%quote(age=15));
%put %mf_getvalue(sashelp.class,name);

SAS Macros

Related Macros

Parameters
[in]libdsdataset to query
[in]variablethe variable which contains the value to return.
[in]filter=(1) contents of where clause
Version
9.2
Author
Allan Bowe

Definition in file mf_getvalue.sas.