COVID-19: Updates on library services and operations.

Carpenter's complete guide to the SAS macro language /
Art Carpenter
Cary, NC : SAS Institute, c1998.
xviii, 224 p. : ill. ; 28 cm.
More Details
Cary, NC : SAS Institute, c1998.
catalogue key
Includes bibliographical references (p. 209-213) and index.
A Look Inside
This item was reviewed in:
SciTech Book News, September 1999
To find out how to look for other reviews, please see our guides to finding book reviews in the Sciences or Social Sciences and Humanities.
Table of Contents
Acknowledgmentsp. xi
Prefacep. xiii
About the Authorp. xv
About This Bookp. xvii
New in the Macro Languagep. xxi
Macro Basics
Introductionp. 3
Macro Facility Overviewp. 3
Terminologyp. 4
Macro Execution Phasesp. 5
Referencing Environments or Scopesp. 8
Defining and Using Macro Variablesp. 11
Naming Macro Variablesp. 12
Defining Macro Variablesp. 13
Using Macro Variablesp. 13
Displaying Macro Variablesp. 16
Resolving Macro Variablesp. 19
Automatic Macro Variablesp. 22
Defining and Using Macro Variables in a PROC SQL Stepp. 27
Removing Macro Variablesp. 30
Defining and Using Macrosp. 33
Defining a Macrop. 34
Invoking a Macrop. 37
System Options Used with the Macro Facilityp. 38
Display Manager Command-Line Macrosp. 45
Statement- and Command-Style Macrosp. 46
Controlling System Initializationp. 47
Macro Parametersp. 53
Introducing Macro Parametersp. 54
Positional Parametersp. 54
Keyword Parametersp. 56
Choosing between Keyword and Positional Parametersp. 59
Using Macros
Program Control through Macrosp. 65
Macros That Invoke Macrosp. 66
Using Conditional Macro Statementsp. 72
Iterative Execution Using Macro Statementsp. 77
Macro Program Statementsp. 85
Interfacing with Datap. 101
Using the SYMPUT Routinep. 102
Using a SAS Data Set As a Control Filep. 107
Macro Variable Forms Used in Dynamic Programsp. 116
Moving Text from Macro to DATA Step Variablesp. 119
Doing More with the SQL Stepp. 127
Execution of Macro Code Using CALL EXECUTEp. 134
Using Macro Functionsp. 143
Quoting Functionsp. 145
Text Functionsp. 160
Evaluation Functionsp. 166
Using DATA Step Functions and Routinesp. 170
Building Your Own Macro Functionsp. 178
Other Useful Macro Functionsp. 183
Using Macro References with the SAS Component Language (SCL)p. 199
The Problems Is...p. 200
Using Macro Variablesp. 201
Calling Macros from within SCL Programsp. 205
Advanced Macro Topics, Utilities, and Examples
Writing Dynamic Codep. 211
Elements of Dynamic Programsp. 212
Writing Applications without Hard-coded Data Dependenciesp. 216
Using &&VAR&I Constructs as Macro Arraysp. 221
Building SAS Statements Dynamicallyp. 227
Using SASHELP Viewsp. 234
Controlling Your Environmentp. 239
Operating System Operationsp. 240
Controlling Your Outputp. 255
Adapting Your SAS Environmentp. 262
Coordinating with the Output Delivery System (ODS)p. 269
Working with SAS Data Setsp. 279
Creating Flat Filesp. 280
Subsetting a SAS Data Setp. 286
Checking the Existence of SAS Data Setsp. 295
Working with Data Set Variablesp. 296
Counting Observations in a Data Setp. 319
Building and Using Macro Librariesp. 327
Library Overviewp. 328
Macro Library Essentialsp. 332
SAS Autocall Macrosp. 335
Miscellaneous Macro Topicsp. 347
Other Specialized Tasksp. 348
Doubly Subscripted Macro Arraysp. 357
Programming Smarterp. 368
Working with Macro Parameter Buffersp. 389
Understanding Recursion in the Macro Languagep. 393
Determining Macro Variable Scopesp. 395
Exercise Solutionsp. 399
Utilities Locatorp. 415
Example Locatorp. 419
Macro Locatorp. 425
Example Data Setsp. 431
Glossaryp. 439
Bibliographyp. 443
Indexp. 463
Table of Contents provided by Ingram. All Rights Reserved.

This information is provided by a service that aggregates data from review sources and other sources that are often consulted by libraries, and readers. The University does not edit this information and merely includes it as a convenience for users. It does not warrant that reviews are accurate. As with any review users should approach reviews critically and where deemed necessary should consult multiple review sources. Any concerns or questions about particular reviews should be directed to the reviewer and/or publisher.

  link to old catalogue

Report a problem