24%macro mf_existfeature(feature
26 %let feature=%upcase(&feature);
28 %let platform=%mf_getplatform();
30 %
if &feature= %then %
do;
31 %put No feature was requested
for detection;
33 %
else %
if &feature=COLCONSTRAINTS %then %
do;
34 %
if "%substr(&sysver,1,1)"=
"4" or
"%substr(&sysver,1,1)"=
"5" %then 0;
37 %
else %
if &feature=PROCLUA %then %
do;
39 %
if &platform=SASVIYA %then 1;
40 %
else %
if "&sysver"=
"9.2" or
"&sysver"=
"9.3" %then 0;
41 %
else %
if "&SYSVLONG" <
"9.04.01M3" %then 0;
44 %
else %
if &feature=DBMS_MEMTYPE %then %
do;
46 %
if "%substr(&sysver,1,1)"=
"4" or
"%substr(&sysver,1,1)"=
"5" %then 0;
49 %
else %
if &feature=EXPORTXLS %then %
do;
51 %
if "%substr(&sysver,1,1)"=
"4" or
"%substr(&sysver,1,1)"=
"5" %then 1;
52 %
else %
if %sysfunc(sysprod(SAS/ACCESS Interface to PC Files)) = 1 %then 1;
57 %put &sysmacroname: &feature not found;