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

Understanding examples of arrays used to create variables

So far, when we have talked about arrays, we have focused on the technical aspects of programming them, such as their syntax and how they operate inside a data step. In this chapter, we will shift gears and focus on the practical side of using arrays to create variables en masse, which is often done when performing ETL protocols as part of managing a SAS data warehouse.

First, this section will focus on the most common use of arrays in SAS data warehouses, which is to create new warehouse variables based on variables that exist in the native dataset. Next, we will focus on how adding conditions to array processing can improve the quality of output, but can also add complexity to operations.

Array processing in SAS is fast and provides the warehouse manager with an opportunity to standardize ETL protocols. Standardizing can be done through array documentation and by using standard arrays during ETL. However, using arrays...

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 €18.99/month. Cancel anytime