The issue facing most SAS programmers today is not that data space has become bigger ("Big Data"), but that our programming problem space has become bigger. Through the power of DS2, this book shows programmers how easily they can manage complex problems using modular coding techniques. The DS2 Procedure: SAS Programming Methods at Work outlines the basic structure of a DS2 program and teaches you how each component can help you address problems. The DS2 programming language in SAS 9.4 simplifies and speeds data preparation with user-defined methods, storing methods and attributes in shareable packages, and threaded execution on multicore symmetric multiprocessing (SMP) and massively parallel processing (MPP) machines. This book is intended for all BASE SAS programmers looking to learn about DS2; readers need only an introductory level of SAS to get started. Topics covered include introductions to Object Oriented Programming methods, DATA step programs, user-defined methods, predefined packages, and threaded processing. The issue facing most SAS programmers today is not that data space has become bigger ("Big Data"#x9D;), but that our programming problem space has become bigger. Through the power of DS2, this book shows programmers how easily they can manage complex problems using modular coding techniques. The DS2 Procedure: SAS Programming Methods at Work outlines the basic structure of a DS2 program and teaches you how each component can help you address problems. The DS2 programming language in SAS 9.4 simplifies and speeds data preparation with user-defined methods, storing methods and attributes in shareable packages, and threaded execution on multicore symmetric multiprocessing (SMP) and massively parallel processing (MPP) machines. This book is intended for all BASE SAS programmers looking to learn about DS2; readers need only an introductory level of SAS to get started. Topics covered include introductions to Object Oriented Programming methods, DATA step programs, user-defined methods, predefined packages, and threaded processing Contents 4 Preface 8 About This Book 10 Purpose 10 Is This Book for You? 10 Prerequisites 10 Scope of This Book 10 About the Examples 10 Additional Help 11 Keep in Touch 11 About The Author 14 Chapter 1: Solving Bigger Problems 16 big data. Big data. BIG DATA. 16 PROC DS2 17 Problem Space 17 Data Space 19 Our First DS2 Programs 20 Chapter 2: Object-Oriented Programming for SAS Programmers 30 Background and Definition 30 An Example of OOP 31 Moving Forward 35 Chapter 3: Variables and Data Types 38 Operations and Assignments 45 Arrays 49 Missing Values and NULL Values 55 Chapter 4: Scope 58 Scope 58 The Program Data Vector (PDV) 59 Scope in Other Programming Blocks 60 Chapter 5: Methods 62 Defining Methods 62 Chapter 6: Packages 76 User-Defined Packages 76 System-Defined Packages 83 Chapter 7: An Example 90 Problem 90 The Hash Package 93 Problem Revisited 96 Chapter 8: Data Sources 102 Overview 102 Sample Tables 103 SET 104 Merge 108 Threads 111 SQLSTMT Package 114 References 116 Index 118 Contents......Page 4 Preface......Page 8 About the Examples......Page 10 Keep in Touch......Page 11 About The Author......Page 14 big data. Big data. BIG DATA.......Page 16 Problem Space......Page 17 Data Space......Page 19 Our First DS2 Programs......Page 20 Background and Definition......Page 30 An Example of OOP......Page 31 Moving Forward......Page 35 Chapter 3: Variables and Data Types......Page 38 Operations and Assignments......Page 45 Arrays......Page 49 Missing Values and NULL Values......Page 55 Scope......Page 58 The Program Data Vector (PDV)......Page 59 Scope in Other Programming Blocks......Page 60 Defining Methods......Page 62 User-Defined Packages......Page 76 System-Defined Packages......Page 83 Problem......Page 90 The Hash Package......Page 93 Problem Revisited......Page 96 Overview......Page 102 Sample Tables......Page 103 SET......Page 104 Merge......Page 108 Threads......Page 111 SQLSTMT Package......Page 114 References......Page 116 Index......Page 118 Showing programmers how easily they can manage complex problems using modular coding techniques, this book outlines the basic structure of a DS2 program and teaches you how each component can help you address problems. -- Edited summary from book