21 %macro mf_getvalue(libds,variable,filter=1
23 %
if %mf_getattrn(&libds,NLOBS)>0 %then %
do;
24 %local dsid rc &variable;
25 %let dsid=%sysfunc(open(&libds(where=(&filter))));
27 %let rc = %sysfunc(fetch(&dsid));
28 %let rc = %sysfunc(
close(&dsid));