- 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;
run;
Modify the DATA step to assign the value Debit to
Label if the data set variable Type is D.
Otherwise, assign the value Credit to the variable
Label .
-
Submit the DATA step and print the data set. Compare the values of
Label in Finance.Totals to the values assigned
in the DATA step. If needed, modify the DATA step and resubmit.
Return here and select Next.
|