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.

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 2635 views
  • 2 likes
  • 2 in conversation