Creation of a dataset and application of a thousands separator format.
View code
ETL
Creation and formatting of monetary data
Creation of a table with formatted monetary values and metadata analysis.
View code
ETL
BMI Calculation via Data Step
Simple Body Mass Index (BMI) calculation with output to the log.
View code
ETL
Creating and Displaying the CEREAL Dataset
This SAS script creates a `work.cereal` dataset using embedded data via `datalines`, then displays the content of thi...
View code
ETL
Creation of the THREEROWS table
Creation of a simple SAS table with data included in the code.
View code
ETL
Managing VARCHAR data in CAS
This SAS script illustrates the creation of a SAS table with long character columns, its loading into a CAS cluster w...
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
CAS Joins with Deep Learning and Search Analytics
This SAS script initializes a CAS session and performs data joins using the dlJoin actions from the Deep Learning act...
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
ETL
Reading and Manipulating Date Variables with Datalines
This SAS script illustrates the reading and manipulation of date variables from internal data (datalines) using vario...
View code
ETL
Data Reading and Sorting Exercises (US Presidents & Pumpkin)
Exercise script illustrating different techniques for reading raw data (Column input, pointers) and sorting.
View code
ETL
Simple Data Creation and Transformation
Basic example of data creation, variable calculation, and display.
View code
ETL
Advanced Inventory and Purchase Data Manipulation
This SAS script demonstrates fundamental and advanced data manipulation techniques. It includes creating datasets, ap...
View code
ETL
Copying data from an ODBC source to local files
This SAS script copies tables from an ODBC data source (`dwdata`) to SAS files located on a local path (`dwRaw`).
View code
ETL
Sans titre
This SAS script creates a dataset of student scores, sorts it, and identifies duplicate scores, retaining the highest...
View code
ETL
Creation of the MYLIB.CLASS1 table
This SAS script creates a table named CLASS1 in the MYLIB library using instream data (datalines).
View code
ETL
Explanation of PROC IMPORT
This document explains in detail the use of the PROC IMPORT procedure to import data from various external sources in...
View code
ETL
Converting character string to numeric value
Script demonstrating the conversion of a character variable containing separators to numeric format.
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.