SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 67548: SAS® Environment Manager and the sas-admin command might show different states for the connected SAS® Cloud Analytic Services (CAS) sessions

DetailsHotfixAboutRate It

When you run a sas-admin command, the list of states for connected CAS sessions might appear different from the SAS Environment Manager list.

The list of connected CAS sessions in SAS Environment Manager is available under System ► Servers ► Your CAS Server ► Sessions. Session states can appear as connected or disconnected.

A screenshot showing the sessions in a CAS server.

When you try to verify the list using either the following sas-admin command-line interface (CLI) command or using the sessions.listSession CAS action, all the sessions are listed as Connected:

$ ./sas-admin cas sessions list
proc cas;
        session.listsessions result=rc;
        saveresult rc caslib='CASUSER'
        casout='TT';
run;

Here is example output:

 

Obs

SessionName

UUID

State

Authentication

Userid

1

dataExplorer:Wed Mar 3 03:54:48 2021

9f241976-0ab9-e84d-b1c5-efa6c8e124c3

Connected

OAuth

sasadm

2

Session:Wed Mar 3 04:35:33 2021

5fc6f297-98fe-bb4a-9ed0-92b75d9f4a16

Connected

OAuth

sasadm

3

SAS Environment Manager-Logging:Wed Mar 3 04:35:44 2021

32bc6c71-b9fb-5d4a-a544-e5cbe0aac9ce

Connected

OAuth

sasadm

4

SAS Environment Manager:Wed Mar 3 04:58:36 2021

e78b2580-f6dd-a144-8136-eb4a063a4f40

Connected

OAuth

sasadm

5

EC:Wed Mar 3 05:11:07 2021

b6354446-cb89-1048-a937-a1f39b80a282

Connected

OAuth

sasadm

 

The CLI and the listSessions action read the list of current sessions through the same CAS action, which sometimes experiences a delay when a session becomes disconnected. SAS Environment Manager reads the number of CAS sessions directly from the CAS Controller’s memory and is generally more correct.

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Environment ManagerMicrosoft® Windows® for x643.33.3ViyaViya
Linux for x643.33.3ViyaViya
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.