We have just implemented Viya 3.4 in a Linux Cluster. One of our trainers asked me this:
How do we know whether a program runs on CAS server or SPRE server in SAS Viya?
Is there an indication in the log that explicitly shows where a particular a step was run?
--jcz
Yes, many procedures display a note, However, I don't think there is any strict rule about it, so some CAS-enabled procedures might not write a note.
For the DATA step, the log will display a WARNING such as
WARNING: Running DATA step in the SAS client.
if it had to pull data back from a CAS table.
A few procedures can run in either location (client or server), depending on where the data are. Some CAS-enabled procedures will output a note (such as this one from PROC MEANS) if they run in CAS:
NOTE: The CAS aggregation.aggregate action will be used to perform the
initial summarization.
If they run on the SAS client, you usually don't get a note.
Some of the CAS-enabled procedures will write a note to the log, such as this note from PROC REGSELECT:
NOTE: The Cloud Analytic Services server processed the request in 0.179464
seconds.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.