Skip to Content
Carpenter's Complete Guide to the SAS REPORT Procedure
book

Carpenter's Complete Guide to the SAS REPORT Procedure

by Art Carpenter
February 2013
Intermediate to advanced
490 pages
14h 35m
English
SAS Institute
Content preview from Carpenter's Complete Guide to the SAS REPORT Procedure
Chapter 7: Extending Compute Blocks 161
Extending Compute Blocks
Using an Alias
Weight in Pounds
region Min Max Range
1 195 195 0
10 163 177 14
2 105 115 10
3 105 195 90
4 131 201 70
5 98 215 117
6 175 240 65
7 147 155 8
8 158 162 4
9 147 215 68
Notice the use of the compound names in the compute block assignment statement o. Because
WTMAX is an alias, the following assignment statement would not work:
wt_range = wtmax.max - wt.min;
Nor could we ignore the compound name for the analysis variable WT. The following assignment
statement would also fail.
wt_range = wtmax - wt;
In the early versions of PROC REPORT, variable aliases ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Carpenter's Guide to Innovative SAS Techniques

Carpenter's Guide to Innovative SAS Techniques

Art Carpenter
SAS ODS Graphics Designer by Example

SAS ODS Graphics Designer by Example

Sanjay Matange, Jeanette Bottitta

Publisher Resources

ISBN: 9781599944272