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.09
|PDF 
Feedback
 
  • Welcome to SAS Programming Documentation
  • What's New
  • Learning SAS Viya Platform Programming
  • Syntax Quick Links
  • Python Programming
  • Advanced Analytics
  • Data Access
    • Data Sources Listed Alphabetically
    • CAS User’s Guide
    • SAS/ACCESS for Relational Databases
    • SAS/ACCESS for Nonrelational Databases: Reference
    • SAS/ACCESS for PC Files for Viya
    • SAS/ACCESS for R/3
    • SAS/ACCESS Documentation
    • ORC and Parquet Engines
    • Cloud Data Exchange
    • V9 Engine
    • SPD Engine: HDFS
    • SPD Engine
    • XMLV2 and XML Engines
    • SAS LIBNAME Engine for SAS Federation Server
    • Moving and Accessing SAS Files
    • SAS/CONNECT for SAS Viya User’s Guide
  • 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
Moving and Accessing SAS Files
 

Moving and Accessing SAS® Files

About This Book
Introduction
Moving and Accessing SAS Files between Operating Environments
SAS Transport Formats
Strategies for Moving and Accessing SAS Files
CEDA
PROC CPORT and PROC CIMPORT
XPORT Engine with DATA Step or PROC COPY
Transferring Transport Files and Foreign Files
Transferring Files
Operating Environment Specifics
Linux
File Extensions and Headers
File Transport Macros
File Transport Macros
Troubleshooting
Troubleshooting
Appendixes
Record Layout for a SAS Version 5 or 6 Data Set in SAS Transport Format
Record Layout for a SAS Version 8 or 9 Data Set in SAS Transport Format
Last updated: April 8, 2026
Privacy Statement Terms of Use 
Copyright © SAS Institute Inc. All Rights Reserved