Explains the use of the KEEP statement in a DATA step executed in distributed memory (CAS) to select variables to ret...
View code
Administration
List files in a caslib data source
This feature allows listing files present in a data source associated with a CAS caslib, displaying detailed informat...
View code
Général
Sans titre
SAS script performing a one-sided or two-sided Student's t-test on internal data, including the manual calculation of...
View code
Data Access
Hadoop Data Connector
Allows data transfer between Hive and SAS Cloud Analytic Services (CAS).
View code
Administration
Hide a column for most users
This example illustrates how to modify access controls on a specific column of a CAS table to hide it from all users,...
View code
Macro
Comparison of IF vs. WHERE filtering in a macro
Script generating test data and executing a macro to repeatedly compare two filtering methods (IF vs WHERE).
View code
Data Access
Informix Data Connector
This document describes the SAS Cloud Analytic Services (CAS) data connector for Informix, allowing data to be read f...
View code
Visualization
Random Data Generation and SGPLOT Visualization
Script generating random data to create a custom scatter plot.
View code
Statistical
Force a Specific Order on a Variable (PROC CARDINALITY)
This SAS script illustrates how to use the CARDINALITY procedure in SAS Viya 4 to analyze variable cardinality and, s...
View code
Statistical
Descriptive Analysis and Normality Tests on Baseball Data
Descriptive statistical analysis script using the UNIVARIATE procedure to examine the distributions of nRuns and nHit...
View code
Data Analysis
Obtain FedSQL Query Execution Details
This example demonstrates how to obtain execution plan details for a FedSQL query submitted to the CAS server, using ...
View code
Data Access
Greenplum Data Connector
Enables data transfer between a Greenplum database and SAS Cloud Analytic Services (CAS).
View code
Text Analysis
The TEXTMINE procedure
The TEXTMINE procedure is used to perform text mining and natural language processing (NLP) tasks on textual data sto...
View code
ETL
Creation of the Info Table
Basic script illustrating the creation of a SAS table with a single observation.
View code
Data Management
Handling Missing Values in Arithmetic Calculations
Illustration of missing value propagation during addition operations in a DATA step.
View code
Data Manipulation
Handling Missing Values with the SUM Function
Demonstration of using the SUM function to add variables containing missing values.
View code
Statistics
CAEFFECT Procedure: Estimation by Regression Adjustment
Demonstrates the use of the CAEFFECT procedure for causal effect estimation by regression adjustment, using a pre-adj...
View code
Natural Language Processing (NLP)
Selecting and Ignoring Parts of Speech and Entities in PROC TEXTMINE
This example illustrates how to use the SAS TEXTMINE procedure to analyze text while ignoring specific parts of speec...
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.