Programming Tips 2

h

Before we continue, there are two 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 two sets of code also return the exact same result in SAS:

Data Test;
a = 1;
Run;

OR 

Data Test;
    a = 1;
Run;