mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Basic SAS
Just an entry for SAS with the basic .sas file extension and two examples.
This commit is contained in:
17
samples/SAS/data.sas
Normal file
17
samples/SAS/data.sas
Normal file
@@ -0,0 +1,17 @@
|
||||
/* 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;
|
||||
Reference in New Issue
Block a user