Dataset is the basic programming unit in SAS. This lesson will show you how to create a SAS dataset with minimal effort.

Example

Data SASCrunch; a = 1;Run;​

Step 1: Enter the code on the editor window as shown on the image above.Step 2: Run the code with the "Running Man" icon marked as (2) on the image above.Step 3: Click on the Libraries folder on the explorer window marked as (3) and open the subsequent 'Work' folder.Step 4: Open the 'SASCrunch' dataset from the 'Work' folder. There you go, a SAS dataset is created!