Length and Precision of SAS Variables

Length and Precision of SAS Variables

SAS programmers often use the Length statement frequently. Understanding the concepts of Length and Precision of SAS variables helps you to efficiently use disk space.

When you specify the length of SAS variables.SAS stores the value of all numeric variables in floating-point representation.

Ten Quick Uses of Proc Datasets

Ten Quick Uses of Proc Datasets

PROC DATASETS is a very useful SAS Procedure to manage, manipulate and modify your SAS datasets. it is more efficient than performing the same tasks with a Data Step. PROC DATASET is efficient because it does not need to read in or write observations of datasets to make modifications to them.

Use Where Statement In SAS To Your Advantage

Use Where Statement In SAS To Your Advantage

The WHERE statement selects observations in SAS data sets only, whereas the subsetting IF statement selects observations from an existing SAS data set or from observations that are created with an INPUT statement.

4 Functions for fuzzy matching in SAS

4 Functions for fuzzy matching in SAS

Fuzzy matching in SAS is a technique of deciding programmatically if one word is identical to the other. For example, deciding if ‘John Doe’ is identical to ‘Johnny Doe’. In SAS, there are a number of functions that will let you carry out a fuzzy match.

Using the Compare function in SAS for comparing strings

Using the Compare function in SAS for comparing strings

The COMPARE function in SAS lets you compare two-character values and with optionally available modifiers, you’ll be able to ignore cases and truncate a longer value to the length of a shorter value before making the comparison.