Utility macro to determine the SAS user ID based on the session context (Viya Compute, Stored Process, or Workspace Server).
This SAS macro defines custom HTTP headers for SASjs server responses. It works by writing the specified headers to a temporary file located in the session directory, which is then read by the server to configure the HTTP response.
This document describes in detail the steps to execute a DATA Step program in the Cloud Analytic Services (CAS) environment via SAS Studio. It covers connecting to a CAS session, loading data into memory, executing data transformations, and managing CAS tables.
This document describes concepts and methods for designating or managing superuser privileges in SAS Cloud Analytic Services (CAS) within the SAS Viya 4 environment. Superusers have extended rights to administer the CAS server, manage sessions, libraries (caslibs) and data, as well as configure a...
Explains how to make a user-defined SAS format library available to all CAS sessions or promote it for use by other users. In SAS Viya, this often involves creating and managing formats directly within a caslib.
This script lists active CAS sessions and exports the results to a local SAS table.
Script to view the current SAS session options and specifically inspect the memory configuration.
This SAS script configures encryption options, displays local system information, then establishes a connection to a remote SAS session via SAS/CONNECT. It then executes code on the remote session, generates data locally and remotely, and defines a library to access the remote workspace.
This SAS script establishes and manages SAS/CONNECT and CAS sessions on a SAS Viya environment. It demonstrates local and remote code execution, creation of large tables, and session termination.
This SAS script configures and manages a CAS session and a SAS/CONNECT session for code execution both locally and on a remote server. It also initializes system variables and creates large dummy datasets in both environments.