Using SAS

If you are using SAS and have a large dataset where you only want ot analyze the first 100 rows, you can create a new sas dataset consisting of those first 100 observations.

Below is the PROC SQL statement that will accomplish that for you.

 The following is a basic example of a SAS program.   The program goes through the following steps.