194 Carpenter’s Complete Guide to the SAS REPORT Procedure
Although you can use the LINE statement to write out a value contained in either a temporary
variable or a report item variable, you cannot specify the calculations themselves in the LINE
statement. In this example, the calculations of CLINPCT
tand PATPCT _ could not have been
placed on the LINE statements.
You might also notice that when variables are used on the LINE statement, they are always
followed by a format. Although a format is not required on the PUT statement, it is required on
the LINE statement.
The compute block at
pis specified as
compute n;
If instead it had b ...
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.