SAS Programming North Carolina Virtual Public Schools Modules 5 Creating a SAS Data Set from a SAS Data Set Study Guide 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. What types of files can a Data step read as input data? What is the syntax for writing the Data Step? What does the SET statement do? What are the rules for SAS data set names? What is the compilation phase? What takes place in the compilation phase? What is the execution phase? What takes place in the execution phase? Which phase is first? What is _N_? What is _ERROR_? What values can it have? What is the default? What can cause an error? What happens when the SET statement is compiled? What does the SET statement read? What happens when the compilation phase is complete? What happens in the execution phase? Does SAS retain the values of variables that are read from a SAS data set? What is the result at the end of the execution phase? By default, what does the set statement read? What is the impact of adding a WHERE statement? How many WHERE statements can you have in a data step? What are the rules for a WHERE expression? What are the comparison operators that you can use in a WHERE statement? How do you write them? What are the arithmetic operators that you can use in a WHERE statement? How do you write them? What are the logical operators that you can use in a WHERE statement? How do you write them? What are the special operators that you can use in a WHERE statement? How do you write them? What are the DROP and KEEP statement? How do you write them? When do you want to use a DROP/KEEP statement? What is a label? What is their impact on the SAS data set? What is a format? What is their impact on the SAS data set? What is the LABEL statement? What is the syntax for the LABEL statement? How do you choose to see the label or variable name in a PROC PRINT report? What is the syntax for the FORMAT statement? What are the SAS formats you learned? What are the examples of SAS formats and their effect? What is a SAS date value? How does SAS store a date value? What are the common SAS date formats?