Data Set Summary

Summary

1. 80% of SAS programming work involves creating, modifying and transforming data set.

2. Data Step is used to create SAS data sets.

3. SAS is insensitive to case and indentation.

4. Use quotation and dollar sign ($) properly to create character variables.

5. Use INPUT and DATALINES statements to create multiple observations in a data set.

6. A very common mistake SAS beginners make is to overwrite a data set when the data set is opened. Remember to close the data set completely before overwriting any data set.

7. Data Truncation issue can be resolved by using the LENGTH statement.

8. Use the SET statement to copy a data set.

9. Use the IF statement to subset a data set.

10. Use LIBRARY REFERENCE to access data sets from a permanent library.

11. To access an external SAS data set, you must connect a library to a folder on the SAS server. This can be done by using the LIBNAME statement.

12. Use PROC EXPORT to export data set into Excel or text file.