## How To..?

- How to delete datasets in SAS?
- How to create folders in SAS?
- How to add leading zeros in SAS?
- How to Password protect SAS datasets?
- How to save the SAS log to an external file?
- How to exit from a SAS data step or a Program?
- How to find values in one table that are in another table?
- How to delete labels and formats from SAS variables?
- How to Delete Macro Variables in SAS?
- How to use the IN operator in SAS macro?
- Ways to count the number of observations in a SAS dataset and pass it into a macro variable
- How to Copy a file with SAS?
- 6 methods to reorder Variables in SAS Data Set
- How To Specify List Of Variables In SAS?
- How to Calculate Column Total in SAS?

## SAS Programs?

Here is the collection of SAS program examples. These SAS programming examples will help you to learn various concepts in SAS.

- Retrieve file size or last-modified date of an external file
- Generating sum of rolling data Using the Lag function
- Removing dashes and parentheses from phone numbers
- Macro To check if a variable exists in the SAS dataset
- Generating Multiple Excel Files
- Count of missing and non-missing values for each variable in a SAS data set
- Changing the Case of All Character Variables in a Data Set (Using Arrays)
- Randomly select character values for each observation
- Generating sum of rolling data Using the Lag function
- Generate all permutations of elements in SAS
- Append records to an existing file in SAS
- Determine the log of a variable in SAS
- Importing Multiple Excel Files To Create A Single SAS Dataset
- Check If A Specified Object Exists
- 5 Techniques Of Finding Paths Or Locations In SAS