Contents
About
What's New in Moving and Accessing SAS 9.2 Files
Introduction
Moving and Accessing SAS Files between Operating Environments
Deciding to Move a SAS File between Operating Environments
Deciding to Access a SAS File across Operating Environments
Strategies for Moving and Accessing SAS Files
Summary of Strategy Features
Using National Language Support To Move SAS Files between Computers
The Data Set Used for Examples
Naming Conventions Used for Examples
Accessibility Features in SAS Products
Strategies for Moving and Accessing SAS Files
CEDA
Overview of CEDA
CEDA Advantages
CEDA Limitations
Creating or Changing a SAS File's Format
Transferring a SAS File between Computers
Identifying the Format of a SAS File
Reading and Writing a Foreign File
PROC CPORT and PROC CIMPORT
Overview of Moving SAS Files Using PROC CPORT and PROC CIMPORT
Limitations of Moving SAS Files Using PROC CPORT and PROC CIMPORT
Disadvantages of Moving SAS Files Using PROC CPORT and PROC CIMPORT
Creating a Transport File at the Source Computer
Transferring Transport Files to a Target Computer
Restoring Transport Files at the Target Computer
XPORT Engine with DATA Step or PROC COPY
Overview of the XPORT Engine
XPORT Engine Advantages
XPORT Engine Limitations
Regressing SAS Data Sets to SAS 6 Format
Creating a Transport File at the Source Computer
Transferring Transport Files across a Network
Restoring Transport Files at the Target Computer
XML Engine with DATA Step or PROC COPY
Overview of the XML Engine
XML Engine Advantages
XML Engine Limitations
Creating an XML Document at the Source Computer
Transferring an XML Document across a Network
Restoring an XML Document as a Data Set at a Target Computer
Transferring Transport Files and Foreign Files
Transferring Files
Overview of File Transfers
Attributes for Transport Files
Using the FILENAME Statement or FTP for Foreign Files and Transport Files
Operating Environment Specifics
OpenVMS Operating Environment
Listing OpenVMS System File Attributes
File Attributes Under OpenVMS
Identifying the SAS Version Used to Create a File Under OpenVMS
Mounting a Tape Device Under OpenVMS
Error Messages For OpenVMS
z/OS Operating Environment
Listing z/OS File Attributes
Identifying the SAS Version Used to Create a File under z/OS
z/OS Files and the UNIX System Services Directory
z/OS Batch Statements for File Transport
Transfer Issues for a z/OS Target Computer
Reading Transport Files in z/OS Operating Environments
UNIX Operating Environment
File Attributes Under UNIX
Identifying the SAS Version Used to Create a File under UNIX
Example: Creating a Transport File on Tape
Example: Copying the Transport File from Disk to Tape at the UNIX Source Computer
Example: Copying the Transport File from Tape to Disk at the Target Computer
Windows
File Attributes Under Windows
Identifying the SAS Version Used to Create a File under Windows
Error Message: Encrypted Data is Invalid
File Extensions and Headers
Filename Extensions: Identifying the SAS Engine and Operating Environment Used to Create a SAS File
PROC CONTENTS: Identifying the Base SAS Engine Used to Create a SAS File
File Headers: Finding Out the Method Used to Create the Transport File
Troubleshooting
Troubleshooting
Troubleshooting: Transferring and Restoring Transport files
Error and Warning Messages for Transport Files
Verifying Transfer Format and Transport File Attributes
Reblocking a Transport File
Samples and Logs
Examples of Moving SAS Files
The Overview of Examples of Moving SAS Files between Computers
Example: OpenVMS to UNIX File Transport
Example: z/OS to Windows File Transport
Example: z/OS JCL Batch to UNIX File Transport
Strategies for Verifying Transport Files
Appendix
Recommended Reading
Glossary
Product
Release
Base SAS
9.2
Type
Usage and Reference
Copyright Date
March 2008
Last Updated
01Oct2009