Carpenter’s Complete Guide to the SAS Macro Language, 3rd Edition Front Cover

Carpenter’s Complete Guide to the SAS Macro Language, 3rd Edition

  • Length: 540 pages
  • Edition: 3
  • Publisher:
  • Publication Date: 2016-08-25
  • ISBN-10: 1629592684
  • ISBN-13: 9781629592688
  • Sales Rank: #517797 (See Top 100 Books)
Description

For SAS programmers or analysts who need to generalize their programs or improve programming efficiency, Art Carpenter thoroughly updates his highly successful second edition of Carpenter’s Complete Guide to the SAS Macro Language with an extensive collection of new macro language techniques and examples.

Addressing the composition and operation of the SAS macro facility and the SAS macro language, this third edition offers nearly 400 ready-to-use macros, macro functions, and macro tools that enable you to convert SAS code to macros, define macro variables, and more! Users with a basic understanding of Base SAS who are new to the SAS macro language will find more detail, utilities, and references to additional learning opportunities; advanced macro language programmers who need help with data-driven macros and dynamic application development will find greatly expanded treatment of these topics.

This revised and enlarged edition includes the following topics:

  • New and expanded introduction to the macro language
  • Functions, automatic macro variables, and macro statements new to the macro language
  • Expanded macro language tools that interface with the operating system
  • Expanded data-driven methodologies used to build dynamic applications
  • Expanded discussion of list processing, with four alternative approaches presented
  • Additional file and data management examples
  • Expanded discussion of CALL EXECUTE and DOSUBL
  • New discussion of using the macro language on remote servers
  • Expanded discussion and examples of macro quoting

Far beyond a reference manual issued from an “ivory tower,” this book is pragmatic and example-driven: Yes, you will find syntax examples; yes, the code is explained. But the focus of this book is on actual code used to solve real-world business problems. In fact, an entire appendix is dedicated to listing the nearly 70 classes of problems that are solved by programs covered in this edition. Discussion of the examples elucidates the pros and cons of the particular solution and often suggests alternative approaches. Therefore, this book provides you both a compendium of reusable and adaptable code, and opportunities for deepening your understanding and growing as a SAS programmer.

Table of Contents

Part 1: Macro Basics
Chapter 1: What the Language Is, What It Does, and What It Can Do
Chapter 2: Defining and Using Macro Variables
Chapter 3: Defining and Using Macros
Chapter 4: Using Macro Parameters

Part 2: Using Macros
Chapter 5: Controlling Programs with Macros
Chapter 6: Interfacing with Data Set Values
Chapter 7: Using Macro Functions
Chapter 8: Discovering Even More Macro Language Elements
Chapter 9: Exploring Some Less Common Intermediate Topics
Chapter 10: Building and Using Macro Libraries

Part 3: Dynamic Macro Coding Techniques
Chapter 11: Writing Dynamic Programs
Chapter 12: Examples of Dynamic Programs

Part 4: Miscellaneous Topics and Examples
Chapter 13: Examples and Utilities to Perform Various Tasks
Chapter 14: Miscellaneous Topics

Appendix 1: Exercise Solutions
Appendix 2: Using the Macro Language with Compiled Programs
Appendix 3: Utilities and Examples Locator
Appendix 4: Code Sample Locator
Appendix 5: Glossary

To access the link, solve the captcha.