Handbook of SAS® DATA Step Programming

Book description

To write an accomplished program in the DATA step of SAS®, programmers must understand programming logic and know how to implement and even create their own programming algorithm. Handbook of SAS® DATA Step Programming shows readers how best to manage and manipulate data by using the DATA step.

The book helps novices avoid common mistakes resulting from a lack of understanding fundamental and unique SAS programming concepts. It explains that learning syntax does not solve all problems; rather, a thorough comprehension of SAS processing is needed for successful programming. The author also guides readers through a programming task. In most of the examples, the author first presents strategies and steps for solving the problem, then offers a solution, and finally gives a more detailed explanation of the solution.

Understanding the DATA steps, particularly the program data vector (PDV), is critical to proper data manipulation and management in SAS. This book helps SAS programmers thoroughly grasp the concept of DATA step processing and write accurate programs in the DATA step. Numerous supporting materials, including data sets and programs used in the text, are available on the book’s CRC Press web page.

Table of contents

  1. Front Cover (1/2)
  2. Front Cover (2/2)
  3. Contents (1/2)
  4. Contents (2/2)
  5. Preface (1/2)
  6. Preface (2/2)
  7. The Author
  8. Acknowledgments
  9. Chapter 1: Introduction to SAS® (1/7)
  10. Chapter 1: Introduction to SAS® (2/7)
  11. Chapter 1: Introduction to SAS® (3/7)
  12. Chapter 1: Introduction to SAS® (4/7)
  13. Chapter 1: Introduction to SAS® (5/7)
  14. Chapter 1: Introduction to SAS® (6/7)
  15. Chapter 1: Introduction to SAS® (7/7)
  16. Chapter 2: Creating Variables Conditionally (1/4)
  17. Chapter 2: Creating Variables Conditionally (2/4)
  18. Chapter 2: Creating Variables Conditionally (3/4)
  19. Chapter 2: Creating Variables Conditionally (4/4)
  20. Chapter 3: Understanding How the DATA Step Works (1/5)
  21. Chapter 3: Understanding How the DATA Step Works (2/5)
  22. Chapter 3: Understanding How the DATA Step Works (3/5)
  23. Chapter 3: Understanding How the DATA Step Works (4/5)
  24. Chapter 3: Understanding How the DATA Step Works (5/5)
  25. Chapter 4: BY-Group Processing in the DATA Step (1/4)
  26. Chapter 4: BY-Group Processing in the DATA Step (2/4)
  27. Chapter 4: BY-Group Processing in the DATA Step (3/4)
  28. Chapter 4: BY-Group Processing in the DATA Step (4/4)
  29. Chapter 5: Writing Loops in the DATA Step (1/6)
  30. Chapter 5: Writing Loops in the DATA Step (2/6)
  31. Chapter 5: Writing Loops in the DATA Step (3/6)
  32. Chapter 5: Writing Loops in the DATA Step (4/6)
  33. Chapter 5: Writing Loops in the DATA Step (5/6)
  34. Chapter 5: Writing Loops in the DATA Step (6/6)
  35. Chapter 6: Array Processing (1/4)
  36. Chapter 6: Array Processing (2/4)
  37. Chapter 6: Array Processing (3/4)
  38. Chapter 6: Array Processing (4/4)
  39. Chapter 7: Combining Data Sets (1/4)
  40. Chapter 7: Combining Data Sets (2/4)
  41. Chapter 7: Combining Data Sets (3/4)
  42. Chapter 7: Combining Data Sets (4/4)
  43. Chapter 8: Data Input and Output (1/6)
  44. Chapter 8: Data Input and Output (2/6)
  45. Chapter 8: Data Input and Output (3/6)
  46. Chapter 8: Data Input and Output (4/6)
  47. Chapter 8: Data Input and Output (5/6)
  48. Chapter 8: Data Input and Output (6/6)
  49. Chapter 9: Data Step Functions (1/5)
  50. Chapter 9: Data Step Functions (2/5)
  51. Chapter 9: Data Step Functions (3/5)
  52. Chapter 9: Data Step Functions (4/5)
  53. Chapter 9: Data Step Functions (5/5)
  54. Chapter 10: Useful SAS® Procedures (1/8)
  55. Chapter 10: Useful SAS® Procedures (2/8)
  56. Chapter 10: Useful SAS® Procedures (3/8)
  57. Chapter 10: Useful SAS® Procedures (4/8)
  58. Chapter 10: Useful SAS® Procedures (5/8)
  59. Chapter 10: Useful SAS® Procedures (6/8)
  60. Chapter 10: Useful SAS® Procedures (7/8)
  61. Chapter 10: Useful SAS® Procedures (8/8)
  62. References
  63. Back Cover

Product information

  • Title: Handbook of SAS® DATA Step Programming
  • Author(s): Arthur Li
  • Release date: April 2013
  • Publisher(s): CRC Press
  • ISBN: 9781466552395