DOCUMENTATION
  • Software
    • Software
    • SAS Viya
    • Industries
    • Solutions
    • Products
  • Learn
    • Learn
    • Training
    • Certification
    • Academics
    • Books
    • Video Tutorials
  • Support
    • Support
    • Communities
    • Documentation
    • Developers
    • Support & Services
    • User Groups
  • About Us
    • About Us
    • Why SAS?
    • Company
    • Careers
    • Newsroom
    • Events
    • Contact Us
  • Explore
    • Explore
    • Try & Buy
    • Why SAS?
    • Customer Stories
    • Partners
    • Consulting
  • Software
  • SAS Viya
  • Industries
  • Solutions
  • Products
  • Learn
  • Training
  • Certification
  • Academics
  • Books
  • Video Tutorials
  • Support
  • Communities
  • Documentation
  • Developers
  • Support & Services
  • User Groups
  • About Us
  • Why SAS?
  • Company
  • Careers
  • Newsroom
  • Events
  • Contact Us
  • Explore
  • Try & Buy
  • Why SAS?
  • Customer Stories
  • Partners
  • Consulting
  • Contact Us
Sign In

Create Profile

My SAS

Get access to My SAS, trials, communities and more.

SAS Sites

sas.com
Support
Blogs
Communities
Developer
Curiosity
Videos

Documentation

Learn
Brand
PartnerNet
Merchandise
SAS® Help Center
SAS® Viya® Platform Programming Documentation
2026.07
|PDF 
Feedback
 
  • Welcome to SAS Programming Documentation
  • What's New
  • Learning SAS Viya Platform Programming
  • Syntax Quick Links
  • Python Programming
  • Advanced Analytics
    • Machine Learning
    • Econometrics
    • SAS Enterprise Miner: High-Performance Procedures
    • Forecasting
    • IML (Interactive Matrix Language)
      • SAS IML
      • SAS/IML
        • SAS/IML User's Guide
          • Introduction to SAS/IML Software
          • Understanding the SAS/IML Language
          • Tutorial
          • Working with Matrices
          • Programming Statements
          • Working with SAS Data Sets
          • File Access
          • Mixed-Type Tables
          • Lists and Data Structures
          • Packages
          • General Statistics Examples
          • Submitting SAS Statements
          • Calling Functions in the R Language
          • Robust Regression Examples
          • Time Series Analysis and Examples
          • Nonlinear Optimization Examples
          • Statistical Graphics
          • Storage Features
          • Using SAS/IML Software to Generate SAS/IML Statements
          • Wavelet Analysis
          • Digital Signal Processing
          • Genetic Algorithms
          • Sparse Matrix Algorithms
          • Further Notes
          • Language Reference
            • Overview
            • Statements, Functions, and Subroutines by Category
            • Operators
            • Statements, Functions, and Subroutines
            • Base SAS Functions Accessible from SAS/IML Software
            • References
          • Module Library
    • Optimization and Simulation
    • Quality Control
    • Statistics
    • SAS Visual Analytics Programming Guide
    • Text Analytics
  • Data Access
  • Cloud Analytic Services
  • SAS Language Reference
  • Migrating to UTF-8
  • Example Data Sets
  • SAS Code Debugging
  • Output and Graphics
  • In-Database Processing
  • Security and Administration
  • SAS Servers
  • Using the batch Plug-In for the SAS Viya CLI
  • Accessibility on the SAS Viya Platform
  • SAS Data Quality
  • SAS Job Execution Web Application Doc Link
  • SAS Job Execution Web Application
  • SAS Data and AI Studio
  • SAS Visual Analytics
  • SAS Viya Platform: Administration
  • SAS Viya Platform Operations
  • Other Resources
SAS/IML User's Guide
 

Language Reference

Statements, Functions, and Subroutines by Category

Subsections:
  • Mathematical Functions
  • Reduction Functions
  • Matrix Inquiry Functions
  • Matrix Sorting and BY-Group Processing Functions
  • Matrix Reshaping Functions
  • Combinatorial Functions
  • Character Manipulation Functions
  • Functions for Generating Random Numbers and Simulations
  • Statistical Functions
  • Time Series Functions
  • Digital Filtering Functions
  • Numerical Analysis Functions
  • Linear Algebra Functions
  • Optimization Subroutines
  • Set Functions
  • Control Statements
  • Data Set and File Statements
  • Defining, Storing, and Loading Modules
  • Mixed-Type Tables
  • Lists and Data Structures
  • Packages and Executing Statements
  • Statistical Graphics
  • Termination Statements
  • Wavelet Analysis Functions
  • Genetic Algorithm Functions
  • Calling External Modules
  • Calling SAS Statements or R Functions
Last updated: May 07, 2026
Privacy Statement Terms of Use 
Copyright © SAS Institute Inc. All Rights Reserved