?>
The actionSetInfo action is part of the built-in action set in SAS Viya. It is used to display build and version information for loaded CAS action sets. This is particularly useful for administrators and developers to verify the versions of the action sets currently in use in a CAS session, which can be crucial for debugging, ensuring compatibility, and managing the environment. By default, it lists only the action sets loaded in the current session, but it can also be used to list all action sets available on the server.
| Parameter | Description |
|---|---|
| all | When set to True, the results include all the available action sets as well as loaded action sets. This action runs more slowly when set to True. |
This action does not require any specific data to be created beforehand, as it operates on the server's metadata about action sets.
/* No data creation is necessary for this action. */
This example demonstrates the default behavior of the actionSetInfo action. It retrieves a list of all action sets that are currently loaded into the active CAS session, along with their build information.
| 1 | BUILTINS.actionSetInfo; |
This example uses the 'all' parameter set to TRUE. This modifies the action's behavior to list not only the currently loaded action sets but all action sets that are installed and available on the CAS server. This is useful for discovering the full range of capabilities of the server.
| 1 | BUILTINS.actionSetInfo / all=TRUE; |
A Data Scientist is starting a new project to analyze customer churn. Before starting, they need to confirm that the necessary action sets for predictive modeling, such as 'deci...
A SAS Viya Administrator is conducting a quarterly audit of the CAS server. They need to generate a complete report of every action set installed on the server, not just those c...
A DevOps team is automating the deployment and validation of a new, custom-developed action set named 'customAnalytics'. The validation script must programmatically check if thi...