1748 Codes trouvés
Data Quality
Basic Usage of PROC DATAMETRICS

The DATAMETRICS procedure calculates a set of data quality metrics for variables in a SAS table. These metrics can in...

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
Data Quality
PROC DATAMETRICS: Advanced Data Quality Analysis

This script illustrates the advanced use of the PROC DATAMETRICS procedure to generate data quality metrics, leveragi...

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
Web Services
Test for creating and executing a SAS Viya web service

This SAS script tests the full lifecycle of a web service on SAS Viya: creation, execution via a jobflow, retrieval o...

View code
ETL
Creation of a large synthetic dataset

This SAS script generates a large dataset named `biggerDataset` in the `myLib` library, populating variables 'i', 'j'...

View code
Reporting
Creating an ODS Tagset for Multiple Stylesheets

Script defining a custom ODS Tagset to include multiple CSS files in an output.

View code
Statistical
Adjustment of Raw p-values with PROC MULTTEST

This SAS script illustrates the use of the MULTTEST procedure to adjust a set of raw p-values using the Holm, Hochber...

View code
Macro
Extracting PROC FREQ statistics via text file

SAS macro extracting a specific statistic from PROC FREQ results by redirecting output to a text file and then parsin...

View code
Statistical
Peto's Mortality and Prevalence Test with PROC MULTTEST

Example illustrating the use of the MULTTEST procedure to perform a Peto test (mortality-prevalence) with permutation...

View code
Statistical
Example 1 for PROC MULTTEST

This script performs a Cochran-Armitage trend test on tumor data using a permutation resampling method to adjust p-va...

View code
Général
Sans titre

Example of using the MULTTEST procedure to perform multiplicity adjustments based on bootstrap resampling in toxicolo...

View code
Macro
Creating and Testing a SAS Web Service for Object Sending

This SAS script uses macros to create and test a web service named 'sendObj'. The service is designed to return SAS t...

View code
Unit Test
Test of the ms_triggerstp macro

Unit test program to validate the functionality of the ms_triggerstp macro, which simulates and executes SAS Stored P...

View code
Macro
Test of the ms_getusers macro

Unit test script for the ms_getusers macro, validating user extraction and variable scope management.

View code
Macro
Test of the ms_deletefile macro

Unit test script to validate the functionality of the ms_deletefile macro.

View code
Test / Macro
Unit tests for mp_zip and mp_unzip

Test script validating the compression and decompression functionalities of mp_zip and mp_unzip macros across differe...

View code
Tests
Column Validation Tests (mp_validatecol)

Unit test script for the `mp_validatecol` macro which validates different types of column data (library/dataset names...

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.
Action CAS
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
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.
Tools CAS
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.
ETL CAS
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.
Data Access
SAS Code for SAS VIYA
Catégories
CAS Only
All categories Action Administration Algorithme Algorithmic Base SAS CAS CASL Chart Code Quality / Unit Test Combine Data Configuration Connectivity Control Flow Data Data Access Data Access and Manipulation Data Analysis Data Analysis, Data Exploration Data Creation Data Exploration Data Exploration and Reporting Data Integration Data Loading Data Management Data Manipulation Data Preparation Data Processing Data Processing and Reporting Data Quality DATA Step DATA Step Programming Date Functions Development Development/Debug Documentation Documentation/Information Dynamic Programming ETL ETL, Data Transformation ETL, Macro, Performance Analysis ETL, Reporting ETL, Reporting, Statistics ETL/Reporting Export FedSQL File Management Finance Flow Control Function Function / Macro Fundamental Concepts Général Graph Graphic Graphic Utility Graphical Reporting Interface/Legacy Interoperability / Web Service Invalid Syntax Language Language Fundamentals Library Management Machine Learning Macro Macro / Documentation Macro / System Macro & ETL Macro Documentation Macro Programs Macro Test Macro, ETL Macro/Function Mapping Mixed Modeling Natural Language Processing (NLP) Other Performance Predictive Modeling Programming Quality / Test Reporting SAS Engines SAS Functions SAS Library Management SAS Macro SAS Programming SQL SQL Query Language Statistic Statistical Statistical Modeling Statistics Statistics, Administration Statistics, ETL, Reporting Statistique System Utility Test Test / Code Quality Test / Macro Test, Macro Tests Text Analysis Text Analysis, Machine Learning Tools Troubleshooting Tutorial / Reports Unclassified Unit Test Unit Tests Utility Utility Macro Variable Control Visualization Web Service Web Services Web/Reporting