Chapter 4. Coding PROC SQL Logic

4.1Introduction 110
4.2Conditional Logic 110
4.3CASE Expressions 112
 4.3.1 CASE Logic versus COALESCE Expression 114
 4.3.2 Assigning Labels and Grouping Data 116
 4.3.3 Logic and Nulls 118
4.4Interfacing PROC SQL with the Macro Language 121
 4.4.1 Exploring Macro Variables and Values 121
 4.4.2 Building Macro Tools and Applications 132
4.5Summary 135

Get PROC SQL: Beyond the Basics Using SAS® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.