5. SAS Sample Library
There is a SAS sample library available which contains a collection of SAS data sets and sample programs illustrating many different procedures. The programs are grouped into subdirectories according to application, such as base SAS, statistics, and graphs. To see a listing of the subdirectories type:
$DIR SAS$ROOT:[SAMPLES]
and then select the area of interest, such as statistics:
$DIR SAS$ROOT:[SAMPLES.STAT]
You can copy the data sets and programs into your space, edit them and run them. For example:
$COPY SAS$ROOT:[SAMPLES.STAT]TTESTEX.SAS -
__$ DISK$FASCT:[SMITHAA]TTESTEX.SAS
