Has SASUnit been tested with SAS 9.4 under Windows 11?
When running initsasunit.sas we get an error when running under Windows 11.
It seems to be the macro _checkrunenvironment.sas creating the error.
If SASUnit has been tested under Windows 11 are there any updates available?
Br
Henrik
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
Hi Henrik,
Yes SASUnit is runing under WIn11 and SAS9.4. Make sure to switch with us to github https://github.com/HMS-Analytical-Software/SASUnit
What error is issued when running SASUnit under Win11 / SAS9.4
Hi Klaus,
I'll have to get back to you on the error. Not all of us have upgraded to Win 11 yet :-), but as soon as I've upgraded I will let you know.
I've attached the error I get when running SASUnit on Win 11. We probably have some restrictions that creates the error. Not sure.
that is weird. We are runnging under Win11 and our sysscpl is X64_10PRO. Your sysscpl is X64_WIN+PRO instead.
The plus sign inth the sysscpl causes the problem.
In line 34 follollwing in _check_runenvironment.sas:
%*** check for operation system ***; %if %_handleError(&l_macname. ,WrongOS ,(%upcase(&sysscp.) NE WIN) AND (%upcase(&sysscpl.) NE LINUX) AND (%upcase(&sysscpl.) NE AIX) ,Invalid operating system - only WINDOWS%str(,) LINUX AND AIX )
just add double quotes around %upcase(&sysscpl.) and the compared test strings
%*** check for operation system ***; %if %_handleError(&l_macname. ,WrongOS ,(%upcase(&sysscp.) NE WIN) AND ("%upcase(&sysscpl.)" NE "LINUX") AND ("%upcase(&sysscpl.)" NE "AIX") ,Invalid operating system - only WINDOWS%str(,) LINUX AND AIX )
That should solved the problem.
Yeah I just realized it is the sysscpl resolving to X64_WIN_PRO.
Thanx Klaus
Has SASUnit been tested with SAS 9.4 under Windows 11?
When running initsasunit.sas we get an error when running under Windows 11.
It seems to be the macro _checkrunenvironment.sas creating the error.
If SASUnit has been tested under Windows 11 are there any updates available?
Br
Henrik
Hi Henrik,
Yes SASUnit is runing under WIn11 and SAS9.4.
Make sure to switch with us to github https://github.com/HMS-Analytical-Software/SASUnit
What error is issued when running SASUnit under Win11 / SAS9.4
Hi Klaus,
I'll have to get back to you on the error. Not all of us have upgraded to Win 11 yet :-), but as soon as I've upgraded I will let you know.
Hi Klaus,
I've attached the error I get when running SASUnit on Win 11. We probably have some restrictions that creates the error. Not sure.
Hi Henrik,
that is weird. We are runnging under Win11 and our sysscpl is X64_10PRO.
Your sysscpl is X64_WIN+PRO instead.
The plus sign inth the sysscpl causes the problem.
In line 34 follollwing in _check_runenvironment.sas:
just add double quotes around %upcase(&sysscpl.) and the compared test strings
That should solved the problem.
Last edit: Klaus Landwich 2025-07-02
Yeah I just realized it is the sysscpl resolving to X64_WIN_PRO.
Thanx Klaus