General form, MODIFY
statement with the KEY= option:
MODIFY SAS-data-set KEY=index-name;
SAS-data-set
is the master data
set, or the data set that you want to update.
index-name
is the name of the
simple or composite index that you are using to locate observations.
|
proc print data=cargo99(obs=5);
run;
data cargo99;
set sasuser.newcgnum (rename =
(capcargo = newCapCargo
cargowgt = newCargoWgt
cargorev = newCargoRev));
modify cargo99 key=flghtdte;
capcargo = newcapcargo;
cargowgt = newcargowgt;
cargorev = newcargorev;
run;
proc print data=cargo99(obs=5);
run;
data m; set t (rename=(b=newb)); modify m key=a; b=newb; run;
General form, MODIFY
statement with the UNIQUE option:
MODIFY SAS-data-set KEY=index-name
/UNIQUE;
SAS-data-set
is
the name of the SAS data set that you want to modify (the master data
set).
index-name
is the name of the
simple or composite index that you are using to locate observations.
|