From 5cb41041d914eb6a222d7188dc742ae97e154286 Mon Sep 17 00:00:00 2001 From: Allan Bowe Date: Tue, 13 Oct 2020 11:20:30 +0200 Subject: [PATCH] fix: upcase showlog value in mp_getddl() to allow lowercase user entries --- all.sas | 4 ++-- base/mp_getddl.sas | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/all.sas b/all.sas index c82d709..5c6619a 100644 --- a/all.sas +++ b/all.sas @@ -2656,7 +2656,7 @@ run; file &fref mod; put ');'; run; - + /* Create Unique Indexes, but only if they were not already defined within the Constraints section. */ data _null_; *length ds $128; @@ -2836,7 +2836,7 @@ run; %end; %end; -%if &showlog=YES %then %do; +%if %upcase(&showlog)=YES %then %do; options ps=max; data _null_; infile &fref; diff --git a/base/mp_getddl.sas b/base/mp_getddl.sas index 578061a..f4e159b 100644 --- a/base/mp_getddl.sas +++ b/base/mp_getddl.sas @@ -159,7 +159,7 @@ run; file &fref mod; put ');'; run; - + /* Create Unique Indexes, but only if they were not already defined within the Constraints section. */ data _null_; *length ds $128; @@ -339,7 +339,7 @@ run; %end; %end; -%if &showlog=YES %then %do; +%if %upcase(&showlog)=YES %then %do; options ps=max; data _null_; infile &fref;