Programming Tips 1

How to check your code/program?

Unfortunately, we cannot process and verify your code when you are running them on your SAS Studio or SAS program.

However, there are a few things you can do to make sure your code is correct:

1. Click the "Get Solution" button

Clicking on the "Get Solution" button below each exercise will show you the correct code. You can verify your answer by comparing them to the correct code.

Get Solution

2. Check your data set/result

Each exercise has a clearly defined objective. For example, you might be asked to create a data set that contains certain variables. You can check your data set and make sure you have achieved the desired outcome.

3. Check Log Tab

Finally, you should always check the Log tab when you are unsure of your programming code. 

Make sense? Let's continue.