Programming Tips 2

Before we continue, there are 2 things about SAS programming you need to know:

1. SAS is insensitive to case

In other words, the following code returns the exact same result in SAS:

Data Test;
    a = 1;
Run;

OR 

data test;
    a = 1;
run;

OR 

daTa tESt;
    A = 1;
RuN;

2. SAS is insensitive to indentation

The 2 sets of code also return the exact same result in SAS:

Data Test;
a = 1;
Run;

OR 

Data Test;
    a = 1;
Run;