General form, MODIFY
statement with an assignment statement:
DATA SAS-data-set;
MODIFY SAS-data-set;
existing-variable = expression;
RUN;
SAS-data-set
is the name of the
SAS data set that you want to modify.
existing-variable
is the name of the
variable whose values you want to update.
expression
is a function or other
expression that you want to apply to the variable.
|
proc print data=capacity (obs=4); run; data capacity; modify capacity; CapEcon = int(CapEcon * .95); CapBusiness = int(CapBusiness * .90); run; proc print data=capacity (obs=4); run;