Usage Note 23355: How can I compute a new field in the output, based on
an existing field of the data set?
The COMPUTE AS statement computes a new column in
the output based on a numeric field within the data set.
define column sqroot;
compute as sqrt(source);
header='square Root';
format=6.4;
end;
run;
See also the full PROC TEMPLATE FAQ and Concepts.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | low |
Topic: | Third Party ==> Output ==> HTML SAS Reference ==> ODS (Output Delivery System)
|
Date Modified: | 2003-09-22 11:18:48 |
Date Created: | 2003-08-08 16:53:40 |