From 94e83f6b8d5882a0046463409c4ef00af9059d7b Mon Sep 17 00:00:00 2001 From: Allan Bowe Date: Mon, 2 May 2022 22:24:56 +0000 Subject: [PATCH] fix: updating mf_existfeature for constraint check --- all.sas | 2 +- base/mf_existfeature.sas | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/all.sas b/all.sas index 95e1cfa..37513bc 100644 --- a/all.sas +++ b/all.sas @@ -188,7 +188,7 @@ options noquotelenmax; %put No feature was requested for detection; %end; %else %if &feature=COLCONSTRAINTS %then %do; - %if %substr(&sysver,1,1)=4 %then 0; + %if "%substr(&sysver,1,1)"="4" or "%substr(&sysver,1,1)"="5" %then 0; %else 1; %end; %else %if &feature=PROCLUA %then %do; diff --git a/base/mf_existfeature.sas b/base/mf_existfeature.sas index 739b5e7..0d7afab 100644 --- a/base/mf_existfeature.sas +++ b/base/mf_existfeature.sas @@ -30,7 +30,7 @@ %put No feature was requested for detection; %end; %else %if &feature=COLCONSTRAINTS %then %do; - %if %substr(&sysver,1,1)=4 %then 0; + %if "%substr(&sysver,1,1)"="4" or "%substr(&sysver,1,1)"="5" %then 0; %else 1; %end; %else %if &feature=PROCLUA %then %do;