HomeContact

Latest Posts

8 Ways to count the number of observations in a SAS dataset and pass it into a macro variable
SAS data sets consist of a descriptor portion and a data portion that contains the data values. The descriptor portion of a SAS data set holds the detailed information about the data set. This information
January 21, 2021
1 min
4 Methods to find values in one table that are in another table
It is one of the most common data manipulation tasks to find records that exist in table one that also exists in table two. In other words, finding common rows that exist in both tables. This post includes 3 methods with PROC SQL and 1 method with data step merge to solving it. Suppose you have [...]
January 17, 2021
1 min
Base SAS
Default Sorting Order of Characters in SAS
Sorting Orders for Numeric Variables Numeric variables are sorted from the smallest-to-largest…
Subhro Kar
Subhro Kar
January 12, 2021
1 min
5 ways to exit from a SAS data step or a Program
There are a number of statements, options, functions, and programming alternatives that are well suited to controlling how and when all or a portion of a program can be stopped conditionally. Sometimes we want to control the flow of the individual data steps of the program. This may include the termination of a step or even the SAS job itself. There are several exit strategies depending on the objective.
January 11, 2021
3 min
How to Password protect SAS datasets ?
Password Protecting SAS datasets means using access control on your data to prevent unintended access and secure your data. SAS has provided three levels of Access controls over the data and is implemented using passwords.
December 22, 2020
2 min
Previous
Page 9 of 17
Next
© 2025 9to5sas
AboutContactPrivacyTerms