Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering SAS Programming for Data Warehousing

You're reading from   Mastering SAS Programming for Data Warehousing An advanced programming guide to designing and managing Data Warehouses using SAS

Arrow left icon
Product type Paperback
Published in Oct 2020
Publisher Packt
ISBN-13 9781789532371
Length 494 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Monika Wahi Monika Wahi
Author Profile Icon Monika Wahi
Monika Wahi
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Section 1: Managing Data in a SAS Data Warehouse
2. Chapter 1: Using SAS in a Data Mart, Data Lake, or Data Warehouse FREE CHAPTER 3. Chapter 2: Reading Big Data into SAS 4. Chapter 3: Helpful PROCs for Managing Data 5. Chapter 4: Managing ETL in SAS 6. Chapter 5: Managing Data Reporting in SAS 7. Section 2: Using SAS for Extract-Transform-Load (ETL) Protocols in a Data Warehouse
8. Chapter 6: Standardizing Coding Using SAS Arrays 9. Chapter 7: Designing and Developing ETL Code in SAS 10. Chapter 8: Using Macros to Automate ETL in SAS 11. Chapter 9: Debugging and Troubleshooting in SAS 12. Section 3: Using SAS When Serving Warehouse Data to Users
13. Chapter 10: Considering the User Needs of SAS Data Warehouses 14. Chapter 11: Connecting the SAS Data Warehouse to Other Systems 15. Chapter 12: Using the ODS for Visualization in SAS 16. Assessments 17. Other Books You May Enjoy

Debugging data step code

As you must realize by now, well-formed data step code is critical to efficiency in SAS. Therefore, once we write data step code for an enduring process (such as ETL), it seems like we are always editing it to improve it. We may even rewrite it to add arrays or macro processing.

However, each time we write and rewrite data step code, we create the opportunity for bugs. For this reason, and because the data step code is so complicated to begin with, there is an extensive array of strategies for troubleshooting and debugging SAS data steps. Many are covered in the SAS white paper Errors, Warnings, and Notes (Oh My) A Practical Guide to Debugging SAS Programs by Lora D. Delwiche and Susan J. Slaughter (link available in the Further reading section).

Because this topic is so extensive, we cannot give it a full treatment here. Instead, we will just cover the basics of debugging data step code and refer to the white paper and other resources for further information...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime