Statistical
Cutpoint Binning

The BINNING procedure with the CUTPTS method allows grouping continuous values of one or more variables into discrete...

View code
ETL
Detailed Journey of a DATA Step Program

This document describes in detail the steps to execute a DATA Step program in the Cloud Analytic Services (CAS) envir...

View code
ETL
Amazon Redshift Data Connector

This connector enables the transfer of data between an Amazon Redshift database and SAS Cloud Analytic Services (CAS)...

View code
ETL
Amazon Redshift Data Connector

This connector allows data transfer between an Amazon Redshift database and SAS Cloud Analytic Services (CAS). It sup...

View code
ETL
Amazon Redshift Data Connector

This connector allows data transfer between an Amazon Redshift database and SAS Cloud Analytic Services (CAS). It sup...

View code
Statistical
Bucket Binning and Weight of Evidence Calculation

This feature of the BINNING procedure allows grouping continuous or categorical variables into categories (bins) and ...

View code
Statistical
CARDINALITY Procedure: Variable with User-Defined Format

This example illustrates how the SAS Viya CARDINALITY procedure handles variables with user-defined formats. It demon...

View code
ETL
Amazon Redshift Data Connector

This connector allows data transfer between an Amazon Redshift database and SAS Cloud Analytic Services (CAS). It sup...

View code
Macro
Checking for SASHDAT file existence in CAS

Macro checking if a .sashdat format table exists in a specified CAS library.

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
ETL
CASL and FedSQL Join Examples

This SAS script demonstrates different methods for performing joins on baseball data within the SAS Viya 4 environmen...

View code
ETL
Appending two CAS tables

This SAS script demonstrates how to append the content of one CAS table (CARS2) to another existing CAS table (CARS) ...

View code
ETL
Character to VARCHAR type conversion when loading into CAS

This SAS script demonstrates how to convert character variables to VARCHAR type when loading a table into CAS, in ord...

View code
Administration
Rename a CAS table

This SAS script demonstrates how to rename an existing CAS table in a SAS Viya 4 environment using PROC CAS actions.

View code
Statistical
Baseball Statistics Analysis with CAS

This SAS Viya 4 script loads baseball data from the SASHELP library into a CAS table, then performs statistical analy...

View code
Administration
Managing SAS Formats in CAS

This SAS script demonstrates comprehensive management of user-defined formats in the SAS Viya CAS environment, includ...

View code
ETL
ETL Macro for Loading CAS Dimension

Macro to load and persist a dimension table in the CAS environment.

View code
Administration
Definition and Management of User-Defined CAS Actions

This SAS script defines and manages User-Defined Actions (UDAs) for SAS Cloud Analytic Services (CAS), enabling detai...

View code
Administration
SAS Viya CAS Environment Information

This SAS Viya script provides detailed information about the Cloud Analytic Services (CAS) environment, including the...

View code
Machine Learning
Training a Gradient Boosting Model for Salary Prediction

This SAS Viya script uses the Cloud Analytic Services (CAS) to train a Gradient Boosting model on the sashelp.basebal...

View code
ETL
Loading and Manipulation of Baseball Data in CAS

This SAS script loads the 'baseball' dataset from the SASHELP library into a CAS library ('casuser'), then creates a ...

View code
ETL
Example of GROUPBY aggregation with CASL and FedSQL

This SAS script demonstrates the use of GROUPBY actions via PROC FEDSQL and PROC CAS (with the simple.groupBy action)...

View code
Statistical
Frequency Analysis with PROC FREQTAB and CAS

This SAS script uses the Cloud Analytic Services (CAS) engine to create a table from `sashelp.baseball` and perform a...

View code
Statistics, Administration
Parallel Execution of CAS Regressions with SAS/CONNECT

This script uses SAS/CONNECT to establish and manage two distinct remote SAS sessions. It then asynchronously submits...

View code

Derniers codes ajoutés

Boost Performance & Security: Creating Composite Indexes and Passwords with PROC DATASETS
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
SAS Data Step Efficiency: When to Use Explicit OUTPUT vs. Implicit Rules
Writes the current observation to a SAS dataset.
Data Manipulation CAS
Stop Struggling with Data Ingestion: Efficiently Move CSVs to Memory with 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.
ETL CAS
Beyond the WORK Library: Mastering the 4 Default SAS Libraries You Must Know
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
Seamless Integration: How to Attach Data Step Outputs Directly to SAS Viya Jobs
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
From SAS 9 to Viya: The Ultimate Guide to Migrating User-Defined Formats to CAS
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.
Tools CAS
Instant Performance Boost: Creating Indexes on the Fly with the INDEX= Data Set Option
Defines one or more indexes for a new output SAS data set.
Général
Stop Bloating Your Datasets: The Definitive Guide to Variable Selection with KEEP
Specifies variables to include in output SAS data sets.
ETL CAS
Combine and Conquer: Mixing Physical Paths and Existing Librefs in One LIBNAME Statement
Explains the concept of SAS library concatenation, allowing several libraries to be logically grouped under a single reference (libref).
Data Access
Stop Importing, Start Connecting: A Master Class in SAS/ACCESS Engines and SQL Pass-Through
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.
Data Access