Make SAS much faster with data set compression
R is fast at processing data sets, but it is limited by memory (physical RAM plus swap). SAS processes much larger data sets, but it is slow because it keeps the data sets on the hard drive. Although...
View ArticleImport DBF in SAS
There are several ways to import DBF files in SAS. First, there is PROC DBF: filename dbfin 'employee.dbf'; proc dbf db5=dbfin out=employee; run; But in my environment (SAS 9.1.3 Windows XP; and SAS...
View ArticleSAS Enterprise Guide 4.3 Tutorials in your language
We've just pushed out the localized versions of the Getting Started with SAS Enterprise Guide 4.3 tutorial. This is the tutorial that you'll see when you select Help->Getting Started Tutorial from...
View ArticleStrip Non-Printable ASCII Characters (SAS)
Say in your SAS data set, which comes from a text file, XML, or database, has non-ASCII characters that look like garbage—perhaps an odd square. These are probably control characters that mean...
View ArticleSAS went to a new line when INPUT statement reached past the end of a line
SAS has powerful features for reading data out of text files (such as CSV, TSV, datalines, and various other formats), but while reading text, you may find your data set is missing rows and the log has...
View ArticleDelete non-exact duplicates in SAS
When deleting non-complete duplicates in SAS, in each duplicate set you may want to keep a particular record identified by a rule: it may be the oldest, newest, first, or last observation in each set....
View ArticleChecking return codes for errors in SAS
You should check for error return codes in any SAS programs that run unattended in batch jobs, so you can handle the exception properly. For example, if the data are invalid, you don’t want to generate...
View Article100% stacked bar chart in SAS’s SGPLOT
A 100% stacked bar chart is useful for comparing the relative frequencies of an m x n table where frequencies in m are very different. While this is easy to do in Excel, SAS requires an extra step,...
View ArticlePractical MD5 in SAS
This guide introduces MD5 and hash functions in general, lists common uses for hash functions, gives advise on how to best use MD5 in SAS, and covers common issues.
View Article
More Pages to Explore .....