Chapter 31 • About SAS/ACCESS Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703
Definition of SAS/ACCESS Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703
Dynamic LIBNAME Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704
SQL Procedure Pass-Through Facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 705
ACCESS Procedure and Interface View Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 706
DBLOAD Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 707
Interface DATA Step Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 708
Chapter 32 • Processing Data Using Cross-Environment Data Access (CEDA) . . . . . . . . . . . 709
Definition of Cross-Environment Data Access (CEDA) . . . . . . . . . . . . . . . . . . . . . . . 709
Advantages of CEDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710
SAS File Processing with CEDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710
Alternatives to Using CEDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715
Creating Files in a Different Data Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 716
Examples of Using CEDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 716
Chapter 33 • SAS 9.4 Compatibility with SAS Files from Earlier Releases . . . . . . . . . . . . . . . . 719
Introduction to Version Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 719
Comparing SAS 9 to Earlier Releases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 720
Using SAS Library Engines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 721
Chapter 34 • File Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 723
Definition of a Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 724
Assigning Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 724
Removing or Changing Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 726
Using Password-Protected SAS Files in DATA and PROC Steps . . . . . . . . . . . . . . . . 727
How SAS Handles Incorrect Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 727
Assigning Complete Protection with the PW= Data Set Option . . . . . . . . . . . . . . . . . 728
Encoded Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729
Using Passwords with Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729
SAS Data File Encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731
Blotting Passwords and Encryption Key Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 735
Metadata-Bound Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 737
Chapter 35 • SAS Engines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 739
Definition of a SAS Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 739
Specifying an Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 739
How Engines Work with SAS Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 740
Engine Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 741
About Library Engines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 744
Special-Purpose Engines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 746
Chapter 36 • SAS File Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 749
Improving Performance of SAS Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 749
Moving SAS Files between Operating Environments . . . . . . . . . . . . . . . . . . . . . . . . . 749
Repairing Damaged SAS Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 750
Chapter 37 • External Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 755
Definition of External Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 755
Referencing External Files Directly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 756
Referencing External Files Indirectly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 756
Referencing Many External Files Efficiently . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 757
Referencing External Files with Other Access Methods . . . . . . . . . . . . . . . . . . . . . . . 758
Working with External Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 760
viii Contents