From a3043ac6855776ac84b8538cb5d5054b96d14c87 Mon Sep 17 00:00:00 2001 From: Allan Bowe Date: Fri, 17 Jun 2022 13:28:51 +0000 Subject: [PATCH] fix: superq() for sysprocessname --- all.sas | 4 ++-- base/mp_abort.sas | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/all.sas b/all.sas index 24c44fb..59d4742 100644 --- a/all.sas +++ b/all.sas @@ -2256,7 +2256,7 @@ Usage: %if %symexist(_SYSINCLUDEFILEDEVICE) /* abort cancel FILE does not restart outside the INCLUDE on Viya 3.5 */ - and %str(&SYSPROCESSNAME) ne %str(Compute Server) + and %superq(SYSPROCESSNAME) ne %str(Compute Server) %then %do; %if "*&_SYSINCLUDEFILEDEVICE*" ne "**" %then %do; data &errds; @@ -2274,7 +2274,7 @@ Usage: /* Web App Context */ %if %symexist(_PROGRAM) - or %str(&SYSPROCESSNAME) = %str(Compute Server) + or %superq(SYSPROCESSNAME) = %str(Compute Server) or &mode=INCLUDE %then %do; options obs=max replace mprint; diff --git a/base/mp_abort.sas b/base/mp_abort.sas index eac5665..f8be344 100644 --- a/base/mp_abort.sas +++ b/base/mp_abort.sas @@ -74,7 +74,7 @@ %if %symexist(_SYSINCLUDEFILEDEVICE) /* abort cancel FILE does not restart outside the INCLUDE on Viya 3.5 */ - and %str(&SYSPROCESSNAME) ne %str(Compute Server) + and %superq(SYSPROCESSNAME) ne %str(Compute Server) %then %do; %if "*&_SYSINCLUDEFILEDEVICE*" ne "**" %then %do; data &errds; @@ -92,7 +92,7 @@ /* Web App Context */ %if %symexist(_PROGRAM) - or %str(&SYSPROCESSNAME) = %str(Compute Server) + or %superq(SYSPROCESSNAME) = %str(Compute Server) or &mode=INCLUDE %then %do; options obs=max replace mprint;