Hero SASCOM Background 3q2014

CAS Actions

SAS Viya uses SAS Cloud Analytic Services (CAS) to perform tasks. The smallest unit of work for the CAS server is a CAS action. CAS actions can load data, transform data, compute statistics, perform analytics, and create output. Each action is configured by specifying a set of input parameters. Running a CAS action in the CAS server processes the action's parameters and the data and creates an action result. For more information, see “Programming with CAS Actions” in An Introduction to SAS Viya Programming.

SAS Viya provides a variety of interfaces for running CAS actions, including the following:

  • from a SAS session using the CAS procedure. The CAS procedure uses the CASL language for specifying CAS actions and their input parameters. CASL also supports normal program logic such as conditional and looping statements and user-written functions.
  • from Python, R, or Lua using the SAS Scripting Wrapper for Analytics Transfer (SWAT) libraries.
  • from Java using the CASClient class.
  • via REST using the CAS REST APIs.



SAS® Viya™ Actions and Action Sets by Name and Product
CAS actions are organized into action sets. Each action set defines an application programming interface.


Back to Top