 |
Examine variables by using the PUT statement. |
- Copy the program below and paste it into the Program Editor window (or issue the command
copy sashelp.oltutor..source ).
data interest;
set finance.credit;
if type='C' or type='D' then
Total=transaction+(transaction*.18);
run;
Add a PUT statement to write a message to identify any
values of Type other than C or D.
-
Submit the DATA step. Read the log for your message. You should find two
occurrences.
Return here and select Next.
|
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA.
All rights reserved.
Terms of Use & Legal Information
| Privacy Statement