This example illustrates how to modify access controls on a specific column of a CAS table to hide it from all users,...
View code
Administration
Designating CAS Superuser
This document describes concepts and methods for designating or managing superuser privileges in SAS Cloud Analytic S...
View code
Administration
Text Search by Unix System Command
Utility script to search for character strings in server files via Unix system commands.
View code
Administration
DMS Tasks and Logs Cleanup
This functionality allows generating a report on DataFlux Data Management Server tasks, then using this report to sto...
View code
Administration
Staging Git Files
This macro allows you to stage files from a local Git repository for the next commit.
View code
Administration
Recursive Folder Deletion Macro
SAS macro to recursively delete a folder and all its subfolders and files.
View code
Administration
Macro for deleting table constraints
This macro dynamically deletes constraints (primary, unique, not-null keys) from SAS tables by generating and executi...
View code
Administration
Update Stored Process Server Type
This macro updates the server type (Workspace or Stored Process) of a SAS Viya 4 stored process by modifying its meta...
View code
Administration
Creating a Metadata Folder
SAS macro to create a folder in the SAS metadata repository. It uses system calls to execute an external command and ...
View code
Administration
Deleting a Stored Process via Metadata
SAS macro for deleting a Stored Process using its metadata path as a reference. It interacts directly with the SAS me...
View code
Administration
Deleting a Library via SAS Metadata
SAS macro to delete a library definition from the metadata server (OMR) using its name.
View code
Administration
Delete a Metadata Document
SAS macro for deleting a 'Document' type object from the SAS metadata repository using its full path.
View code
Administration
Extracting User IDs from DefaultAuth Domain
This SAS script connects to the SAS metadata server to extract a list of all user IDs defined under the 'DefaultAuth'...
View code
Administration
Managing user-defined formats in CAS for Viya
This SAS script demonstrates how to create, save, promote, and make user-defined formats accessible in the SAS Cloud ...
View code
Administration
Killsess - SAS Windows Session Termination
Utility macro to terminate a specific SAS session on Windows via the taskkill system command.
View code
Administration
Automatic Launch of Excel via DDE
Script checking if Excel is open via DDE protocol and launching it via Windows system commands if necessary.
View code
Administration
Environment Configuration and Dependency Loading
Configuration script defining the working directory, initializing a library, and loading several external utility mac...
View code
Administration
List and locate SAS VA reports via REST API
This script uses the SAS Viya REST API to retrieve the list of SAS Visual Analytics reports, then determines and disp...
View code
Derniers codes ajoutés
Titre
Category
Voir
Modifying SAS Data Sets
This example illustrates the modification of two SAS data sets using the MODIFY statement and its sub-statements. It shows how to: modify SAS files, label a SAS data set, add a read password to a SAS data set, indicate the current sort order of a SAS data set, create an index for a SAS data set, assign informats and formats to variables, rename variables, and label variables in a SAS data set.
ETL
OUTPUT Statement
Writes the current observation to a SAS dataset.
ActionCAS
PROC CASUTIL
The CASUTIL procedure offers several table and caslib management functions, including displaying table metadata, deleting files, unloading and loading tables, promoting tables, and saving tables.
ETLCAS
Default SAS Libraries
This document describes the default SAS libraries: Work (temporary), User (user), Sashelp, and Sasuser. It explains their role and behavior within the SAS Viya 4 environment.
Data Access
SAS Viya Platform File Service
The SAS Viya Platform File Service allows storing, retrieving, and deleting files kept in the SAS Infrastructure Data Server database repository. This repository is not considered a complete 'file system' but contains individual files directly accessible by their file identifier (UUID).
Administration
User-Defined Formats
In the SAS Viya platform, you can store user-defined formats in catalogs for use in a SAS session, or you can store them in a format library on the CAS server. Format libraries are associated with a CAS session, or they can be promoted to global scope to be available to all CAS sessions. User-defined formats in a format library are server-side formats that the server uses when an analysis is performed based on formatted values. You can migrate existing user-defined formats from SAS to the SAS Viya platform.
ToolsCAS
Sans titre
Defines one or more indexes for a new output SAS data set.
Général
KEEP Statement
Specifies variables to include in output SAS data sets.
ETLCAS
SAS Library Concatenation
Explains the concept of SAS library concatenation, allowing several libraries to be logically grouped under a single reference (libref).
Data Access
Examples: Using a SAS Engine to Process External Data
This document provides examples of using SAS engines to access and process various types of external data, including delimited files, Excel files, databases (DBMS), XML, and JSON.
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.