This SAS script manages the initiation and termination of a remote SAS session via SAS/CONNECT, while executing a Windows system command to launch a SAS spawner.
Saving, temporarily modifying, and restoring SAS system options.
This SAS Viya 4 script loads baseball data from the SASHELP library into a CAS table, then performs statistical analysis using PROC MEANS on this CAS table. It also handles CAS session initialization and action history.
The GKILL macro deletes entries from a graphics catalog. This is useful when PROC GREPLAY is used repeatedly in a single session or a batch file, and each new sequence of plots for PROC GREPLAY must start with a clean slate.
This script defines a utility macro named %prtlast that displays data from the most recently created table in the SAS session.
Utility macro to terminate a specific SAS session on Windows via the taskkill system command.
This SAS script demonstrates how to create, save, promote, and make user-defined formats accessible in the SAS Cloud Analytic Services (CAS) environment of SAS Viya 4. It includes steps to initialize the CAS session, define a format via PROC FORMAT with a CASFMTLIB, and configure CAS server optio...
Utility macro to delete compiled macros from the current session (WORK library).
Utility macro to identify the highest numbers used for titles and footnotes in the current SAS session.
This macro generates a unique SAS libref by appending a numeric suffix to a given prefix, to avoid library name conflicts within a SAS session.