Statistical Analysis System, aka Statistical Analysis System, is an actively used programming language created in 1976.

43Years Old 357,962Users 3,567Jobs

Example code from the Hello World Collection:

/* Hello world in SAS */

* Writes as output title;
TITLE "Hello World!";
* writes to the log;
data _null_;
    PUT "Hello world!";
run;

Example code from Linguist:

/* Example DATA step code for linguist */

libname source 'C:\path\to\file'

data work.working_copy;
	set source.original_file.sas7bdat;
run;

data work.working_copy;
	set work.working_copy;
	if Purge = 1 then delete;
run;

data work.working_copy;
	set work.working_copy;
	if ImportantVariable = . then MissingFlag = 1;
run;
Edit

Last updated February 11th, 2019