Licensing: How To View Licenses (SAS Studio)

View SAS Programming Run-Time License Information

  1. Open a web browser and sign in to SAS Studio with administrator privileges.

    Here is an example:

    https://mysasserver.example.com/SASStudioV

    Note: If your site uses a programming-only deployment, or your site uses SAS Studio 4.x, then in the preceding example, replace SASStudioV with SASStudio.
  2. In the Code tab, enter the following command:
    proc setinit; run;
  3. Click Run.

    You should see output similar to the following:

     56         proc setinit;
     57         
     58         
     59         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
     Original site validation data
     Current version: V.03.03M0P040416
     Site name:    'smp statistics, ml, data connectors pkg chg 3.30'.
     Site number:  70068118.
     Expiration:   12MAY2024. 
     Grace Period:  0 days (ending 12MAY2024).
     Warning Period: 15 days (ending 27MAY2024).
     System birthday:   12MAY2022.
     Operating System:   LIN X64 .
     Product expiration dates:
     ---Base SAS Software            12MAY2024  
     ---SAS/CONNECT                  12MAY2024  
    .
    .
    .
    Note: Review your current SAS Expire date, Grace Period, and Warning Period as these were modified in June of 2024.

View SAS Cloud Analytic Services License Information

  1. Open a web browser and sign in to SAS Studio with administrator privileges.

    Here is an example:

    https://mysasserver.example.com/SASStudioV

    Note: If your site uses a programming-only deployment, or your site uses SAS Studio 5.2 (Basic), then in the preceding example, replace SASStudioV with SASStudio.
    TipTo obtain license information without running SAS Studio, run the getLicenseInfo Action from any CAS programming language client. For more information, see getLicenseInfo Action in the SAS Viya: System Programming Guide.
  2. In the Code tab, enter the following commands:

    cas casauto;

    cas casauto listabout;

  3. Click Run.

    You should see output similar to the following:

    1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
     72         
     73         cas casauto;
     NOTE: The session CASAUTO connected successfully to Cloud Analytic Services d2-18w30.uda.sashq-r.openstack.sas.com using port 5570. 
           The UUID is 0c5e49b1-730f-7144-a119-4a363fd3ca00. The user is grraka and the active caslib is CASUSER(myuser).
     NOTE: The SAS option SESSREF was updated with the value CASAUTO.
     NOTE: The SAS macro _SESSREF_ was updated with the value CASAUTO.
     NOTE: The session is using 0 workers.
     74         cas casauto listabout;
              Section: About
              CAS = Cloud Analytic Services 
              Version = 3.04 
              VersionLong = V.03.04M0P05282018 
              Copyright = Copyright © 2014-2024 SAS Institute Inc. All Rights Reserved. 
              ServerTime = 2024-06-01T16:40:32Z 
              Section: System
              Hostname = my_host 
              OS Name = Linux 
              OS Family = LIN X64 
              OS Release = 3.10.0-327.10.1.el7.x86_64 
              OS Version = #1 SMP Sat Jan 23 04:54:55 EST 2022 
              Model Number = x86_64 
              Linux Distribution = Red Hat Enterprise Linux Server release 7.2 (Maipo)          
    					   Section: license
              site = ZZ-ZZZ-18w30-lax-ML 
              siteNum = 12345678
              expires = 01Sep2024:00:00:00 
              gracePeriod = 0
              warningPeriod = 15
              maxCPUs = 9999 
     NOTE: Request to LISTABOUT completed for session CASAUTO.
     75         
     76         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
     89         
    
    Note: If you have an unlimited license, maxCPUs is not reported in the output.
    Note: Review your current SAS Expire date, Grace Period, and Warning Period as these were modified in June of 2024.
Last updated: May 12, 2025