BookmarkSubscribeRSS Feed
jcz
Fluorite | Level 6 jcz
Fluorite | Level 6

 

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

 

1 REPLY 1
Rick_SAS
SAS Super FREQ

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.

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 2350 views
  • 2 likes
  • 2 in conversation