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® 9.4 and SAS® Viya® 3.4 Programming Documentation
SAS 9.4 / Viya 3.4
| 
Feedback
 
  • Welcome to SAS Programming Documentation for SAS® 9.4 and SAS® Viya® 3.4
  • What's New
  • Syntax Quick Links
  • Data Access
  • SAS Analytics 15.1
  • Base SAS Procedures
  • DATA Step Programming
  • Global Statements
  • System Options
  • SAS Component Objects
  • DS2 Programming
  • FedSQL Programming
  • Macro Language Reference
  • Output and Graphics
  • Operating Environments
  • Moving and Accessing SAS Files
  • In-Database Technology
  • Metadata
  • SAS Interface to Application Response Measurement (ARM)
  • Security
  • SAS Servers
  • SAS Data Quality
  • Learning SAS Programming
  • SAS Viya Programming
  • Accessibility for Base
  • SAS Visual Analytics
  • SAS Studio
  • SAS 9.4 Administration
  • SAS Viya: Administration
  • Other Resources
 

Accessing Data

I have a file on my PC

Transfer data from a SAS library to the CAS server using PROC CASUTIL
Upload a CSV file and apply an informat to ensure proper interpretation of values

I have a file in a shared file system that CAS can access

Load a previously saved SASHDAT file with CASL
Upload a CSV file from a server

I have a table in a database server

Use SAS/ACCESS engines to access data in a database. After CAS reads the data and creates an in-memory table, the table can be operated on by actions.

Establish a connection between your Google BigQuery source data and a caslib
Load data from an OBDC database into CAS
Load Oracle data into CAS
Load a database table

I have an object in cloud storage

SAS can access data from an object store and then transfer the data to CAS.

Load data from an S3 data source to a caslib

Other Frequently Used Tasks

Add, save, and drop in-memory tables
Use SAS procedures to transfer data from the CAS server
Load data in a CSV file to an in-memory table in CAS
Import a delimited external file and create a temporary SAS data set
Associate a SAS library with a libref, or shortcut name, using the Global LIBNAME statement

Specialty LIBNAME Engines

Import an XML document using the XML LIBNAME Engine
Use JSON from a URL Access Method fileref
Use the DATA step to create a new SPD Engine data set
Copyright © SAS Institute Inc. All Rights Reserved.
Last updated: March 31, 2021
Privacy Statement Terms of Use 
Copyright © SAS Institute Inc. All Rights Reserved