23%macro mf_existfeature(feature
25 %let feature=%upcase(&feature);
27 %let platform=%mf_getplatform();
29 %
if &feature= %then %
do;
30 %put No feature was requested
for detection;
32 %
else %
if &feature=COLCONSTRAINTS %then %
do;
33 %
if "%substr(&sysver,1,1)"=
"4" or
"%substr(&sysver,1,1)"=
"5" %then 0;
36 %
else %
if &feature=PROCLUA %then %
do;
38 %
if &platform=SASVIYA %then 1;
39 %
else %
if "&sysver"=
"9.2" or
"&sysver"=
"9.3" %then 0;
40 %
else %
if "&SYSVLONG" <
"9.04.01M3" %then 0;
43 %
else %
if &feature=DBMS_MEMTYPE %then %
do;
45 %
if "%substr(&sysver,1,1)"=
"4" or
"%substr(&sysver,1,1)"=
"5" %then 0;
48 %
else %
if &feature=EXPORTXLS %then %
do;
50 %
if "%substr(&sysver,1,1)"=
"4" or
"%substr(&sysver,1,1)"=
"5" %then 1;
51 %
else %
if %sysfunc(sysprod(SAS/ACCESS Interface to PC Files)) = 1 %then 1;
56 %put &sysmacroname: &feature not found;