Menu

SAS 9.4 under Windows 11

Anonymous
2025-05-07
2025-07-02
  • Anonymous

    Anonymous - 2025-05-09

    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

     
  • Klaus Landwich

    Klaus Landwich - 2025-05-09

    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

     
  • Anonymous

    Anonymous - 2025-05-09

    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.

     
  • Anonymous

    Anonymous - 2025-07-02

    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.

     
  • Klaus Landwich

    Klaus Landwich - 2025-07-02

    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:

       %*** 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.

     

    Last edit: Klaus Landwich 2025-07-02
  • Anonymous

    Anonymous - 2025-07-02

    Yeah I just realized it is the sysscpl resolving to X64_WIN_PRO.

    Thanx Klaus

     
  • Anonymous

    Anonymous - 2025-07-04
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB