Previous Page | Next Page

Using SAS Files

Reading SAS Files from Previous Releases or from Other Hosts

Reading Version 6 Files

Using the V6 and V6TAPE read-only engines, SAS can read Release 6 data sets that were created by compatible computer types. In most cases, SAS invokes the V6 engine automatically and you do not have to specify it. The following examples demonstrate how you can use the V6 engine.

For a list of the compatible computers types for V6, see Compatible Computer Types for Release 6.12 through SAS 9.2. For more information about the compatibility of Version 6 files with SAS 9.2, see SAS Language Reference: Concepts.

Reading Version 8 or Later Files from Compatible Computer Types

If your files were created in 64-bit SAS, they are compatible with SAS 9.2. You do not need to use CEDA to read your files. To view tables that show compatible computer types for Release 6.12 through SAS 9.2, see Compatible Computer Types for Release 6.12 through SAS 9.2.

Reading Version 8 or Later Files from Incompatible Computer Types

Compatibility of Existing SAS Files with SAS 9.2

In Release 8.2, both 32-bit and 64-bit SAS were available for the AIX, HP-UX, and Solaris operating environments. In SAS 9, SAS for these environments is 64-bit only. Some SAS files that were created in 32-bit releases of SAS cannot be read by the V9 engine.

SAS automatically tries to use CEDA to read data sets. If you use CEDA to read a data set, and include msglevel=i in your code, then SAS writes a note to the log.

Release 8.2 files that are 64-bit and that were created on a UNIX computer are native on UNIX for SAS 9. You do not need to migrate these files.

The following table lists the supported processing for each SAS file under CEDA.

Supported Processing for Release 8 32-Bit Files in SAS 9
File Type Support
SAS files input processing, output processing  (table note 1)
MDDB file input processing
PROC SQL view input processing
SAS/ACCESS view for Oracle or Sybase input processing
SAS/ACCESS view other than for Oracle or Sybase no support
SAS catalog no support
stored compiled DATA step program no support
DATA step view no support
item store no support

TABLE NOTE 1:   In SAS 9, if you create a new data file from the 32-bit file, the new file is generally 64-bit. For more information about CEDA, see SAS Language Reference: Concepts or Migration at [arrow]

Accessing Version 8 or Later Files with CEDA

CEDA enables a SAS data set that was created in Version 8 or later in any directory-based operating environment (such as UNIX, OpenVMS, and Windows) to be read by a SAS session that is running in another directory-based environment. In SAS 9.2, if you try to access a data set that was created in a previous release, then SAS automatically uses CEDA to process the file. For example, if you are running SAS 9.2 on Linux, SAS will use CEDA to process a data set that was created in Release 8 on a 64-bit Solaris host. With CEDA, you have Read and Write access to these files; however, you will not be able to update the file. For information about compatibility, see Migration at

If you need to access 32-bit SAS data sets, SAS/ACCESS views from Oracle or Sybase, SQL views, or MDDB files from a 64-bit SAS session, then you can access these files using CEDA. CEDA provides Read and Write access to these files. However, CEDA does not support Update processing. CEDA consumes additional resources each time that you read or write to these files.

Catalogs and other SAS files (not including SAS data sets) contain data structures that are known only to the application that created them. These files might contain data objects other than character or numeric objects and, therefore, cannot be shared between 64-bit SAS and earlier 32-bit releases of SAS.

Previous Page | Next Page | Top of Page