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 Mining and Machine Learning
    • Econometrics
    • SAS Enterprise Miner: High-Performance Procedures
    • Forecasting
    • IML (Interactive Matrix Language)
    • Optimization and Simulation
    • Quality Control
    • Statistics
      • SAS Visual Analytics Programming Guide
      • SAS/STAT
      • SAS Visual Statistics
        • Visual Statistics Procedures
          • General
          • Statistics
          • Utility
            • The ASSESS Procedure
            • The BINNING Procedure
            • The CARDINALITY Procedure
            • The PARTITION Procedure
            • The VARIMPUTE Procedure
            • The VARREDUCE Procedure
        • SAS Visual Statistics 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 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
Visual Statistics Procedures
 

The CARDINALITY Procedure

Overview
Getting Started
Syntax
Details
Examples
References

Syntax: CARDINALITY Procedure

The following statements are available in the CARDINALITY procedure:

  • PROC CARDINALITY OUTCARD=CAS-libref.data-table <options>;

  • FREQ variable;

  • VAR variables </ options>;

  • WEIGHT variable;

The PROC CARDINALITY statement is required.

Last updated: November 08, 2022
Privacy Statement Terms of Use 
Copyright © SAS Institute Inc. All Rights Reserved