Macro to configure the ETL job status file which will store the status of each job.
View code
ETL
Analysis and Transformation of Automotive Data with CAS
This SAS script configures the CAS environment, loads data from SASHELP to CAS, and then applies various transformati...
View code
ETL
DATA Step execution example with end-of-file variable
Script illustrating the use of the END= option in a DATA step to detect the last observation and perform cumulative c...
View code
ETL
Using the ?? modifier in INPUT
Example of using the ?? modifier to suppress read error messages.
View code
ETL
Export SASHELP.CLASS data to CSV
This SAS script exports the content of the standard SASHELP.CLASS table to a CSV file named class.csv, including colu...
View code
ETL
Exporting Data to CSV
Exports the sashelp.class table to a CSV file.
View code
ETL
Manipulating Date and Datetime Formats with ANYDATE
This SAS script demonstrates the use of ANYDATE informats to read and convert different date and datetime formats int...
View code
ETL
Data Creation and Deduplication with PROC SORT
This SAS script creates an internal dataset, then demonstrates two deduplication methods using PROC SORT: NODUP for c...
View code
ETL
Downloading FRED Economic Data
SAS macro to download specific economic data from the FRED (Federal Reserve Economic Data) database via a URL.
View code
ETL
SDTM DM Dataset Creation
This SAS script configures the environment, generates a Demographics (DM) domain dataset for SDTM using the %dm_creat...
View code
ETL
Creation of Metadata for the DM Table
This SAS script creates a dataset containing metadata (column name, type, length, label) for a 'DM' table, typically ...
View code
ETL
Investment Simulation over 5 Periods
Calculation of the future value of investments over 5 iterations via a loop.
View code
ETL
Demonstration of DO loops in SAS
This script illustrates the difference between repetitive manual calculation and the use of a DO loop for iteration i...
View code
ETL
Date and Time Manipulation and Formatting
This SAS script demonstrates the creation, manipulation, and formatting of date and time variables, as well as the us...
View code
ETL
Date component extraction and manipulation
Script illustrating the extraction of temporal elements (day, month, year, quarter, weekday) from a date variable.
View code
ETL
Dataset creation with heterogeneous dates
Example of reading dates in different formats (text, numeric) in a DATA step.
View code
ETL
Implementation and Comparison of the '_INFILE_' Technique for Data Delimitation
This SAS script demonstrates and compares two methods for delimiting complex character strings into multiple variable...
View code
ETL
DATA Step Partitioning and Sorting in CAS
Example of optimizing data loading into CAS with partitioning and sorting, followed by group processing.
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.