The script does not use external data or SASHELP tables. It directly queries the metadata and internal state of the SAS Viya CAS environment to collect system information.
1 Code Block
CAS, PROC CAS, macro %put
Explanation : This code block executes several CAS-related actions:
- `cas;` : Starts or activates a CAS session.
- `%put &_sessref_;` : Displays the current CAS session reference in the SAS log.
- `caslib _all_ assign;` : Assigns all existing caslibs to the current CAS session, making them available to the SAS client.
- `%put &sysvlong4.;` : Displays the long version of SAS (installation and patch information).
- `cas casauto listabout;` : Executes a CAS action to list general information about the CAS server via the CASAUTO controller.
- `proc cas; about; run;` : Uses the CAS procedure to obtain and display detailed information about the CAS environment, including server details, component versions, and available resources.
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.