-
Copy the program below and paste it into the Program Editor window (or issue the command
copy sashelp.oltutor..source ).
data finance.totals;
set finance.credit;
DTotal+transaction;
run;
Modify the DATA step to create and sum the variable DTotal only
when the value of Type is D.
Otherwise, use the value of Transaction to create and sum the variable CTotal .
-
Submit the DATA step and correct any errors, then print the data set.
Return here and select Next.
|