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® Programming Documentation
2022.10
|PDF 
Feedback
 
This documentation is for a version of the software that is not covered by Standard Support. Select a different version from the version selector in the banner, or access the latest documentation.
  • Welcome to SAS Programming Documentation
  • What's New
  • Learning SAS Viya
  • Syntax Quick Links
  • Advanced Analytics
  • Data Access
  • Cloud Analytic Services
  • SAS Language Reference
    • Base SAS Procedures
      • Base SAS Procedures Guide
      • Base SAS Procedures Guide: Statistical Procedures
      • Base SAS Procedures Guide: High-Performance Procedures
      • SAS SQL Procedure User’s Guide
      • Reporting Procedure Styles Tip Sheet
      • Video: How to Write JSON Output from SAS
    • DATA Step Programming
    • Global Statements
    • System Options
    • Macro Language Reference
    • FedSQL Programming
    • DS2 Programming
    • SAS Component Objects
  • Migrating to UTF-8
  • Example Data Sets
  • SAS Code Debugging
  • Output and Graphics
  • In-Database Technologies
  • Security and Administration
  • SAS Servers
  • Using the batch Plug-In for the SAS Viya CLI
  • SAS Data Quality
  • SAS Job Execution Web Application
  • Accessibility in SAS Viya
  • SAS Visual Analytics
  • SAS Viya: Administration
  • SAS Viya Operations
  • SAS Studio
  • Other Resources
Base SAS Procedures Guide
 

Base SAS® Procedures Guide

Syntax Conventions for the SAS Language
Concepts
Choosing the Right Procedure
Fundamental Concepts for Using Base SAS Procedures
In-Database Processing of Base Procedures
CAS Processing of Base Procedures
Base SAS Procedures Documented in Other Publications
Base SAS Procedures That Are No Longer Supported
Procedures
ACCELERATOR Procedure
APPEND Procedure
CATALOG Procedure
CIMPORT Procedure
COMPARE Procedure
CONTENTS Procedure
COPY Procedure
CPORT Procedure
DATASETS Procedure
DATEKEYS Procedure
DELETE Procedure
DS2 Procedure
DSTODS2 Procedure
EXPORT Procedure
FCMP Procedure
FCMP Special Functions and Call Routines
FEDSQL Procedure
FMTC2ITM Procedure
FONTREG Procedure
FORMAT Procedure
GATEWAY Procedure
GROOVY Procedure
HADOOP Procedure
HTTP Procedure
IMPORT Procedure
JAVAINFO Procedure
JSON Procedure
LUA Procedure
MEANS Procedure
MIGRATE Procedure
OPTIONS Procedure
OPTLOAD Procedure
OPTSAVE Procedure
PRINT Procedure
PRINTTO Procedure
PROTO Procedure
PRTDEF Procedure
PRTEXP Procedure
PWENCODE Procedure
PYTHON Procedure
QDEVICE Procedure
R Procedure
RANK Procedure
REGISTRY Procedure
REPORT Procedure
S3 Procedure
SCAPROC Procedure
SCOREACCEL Procedure
SORT Procedure
SQL Procedure
SQOOP Procedure
STANDARD Procedure
STREAM Procedure
SUMMARY Procedure
TABULATE Procedure
TRANSPOSE Procedure
XSL Procedure
Appendixes
SAS Elementary Statistics Procedures
Raw Data and DATA Steps for Base SAS Procedures
UNICODE License
Last updated: August 19, 2026
Privacy Statement Terms of Use 
Copyright © SAS Institute Inc. All Rights Reserved