SAS Sample Data

General Access

Below are the sample files used in Getting Started with SAS for Windows and in Getting Started with SAS for UNIX. Windows users should save the clas.dat file in the directory C:\temp. Unix users should save the clas.dat file in the same directory as the file clas_unix.sas.

IU Access

There are many vendor-supplied sample files on the Unix/Linux machines at IU.

  • On Libra these files are in the directory /statapps/sas/samples.
  • On Quarry they are in /N/soft/linux-rhel4-x86_64/SAS-9.1.3/samples.
In each of these directories are subdirectories such as base, iml, etc. You should feel free to view or copy files in these subdirectories. For example if you are logged on to Quarry to enter the directory with the samples type

cd /N/soft/linux-rhel4-x86_64/SAS-9.1.3/samples


To then enter the directory base

cd base


To view the file chart.sas

more chart.sas


To copy it into you home directory

cp chart.sas $YOURDIRECTORY


after replacing $YOURDIRECTORYcode with the actual name of your directory.