|
Eric Hoogenboom wrote:
(...)
> proc sql;
> select raw.var1, put(raw.var1/aggr.sumvar1) as pcvar1
> from raw,
> (select sum(var1) as sumvar1
> from raw) aggr;
> run;
> quit;
I just saw that I used the put function. Skip that please.
Second, if you want the variables in a new dataset, use the create table
statement before the select.
Eric.
|