 |
Note: If you did not complete the previous guided practice,
return there and complete it before continuing
this practice. |
- Copy the program below and paste it into the Program Editor window
(or issue the command
copy sashelp.oltutor.
.source ). A LIBNAME statement and a FILENAME statement
have already been submitted for you.
data perm.orders;
infile aug99dat;
input ID 3. @5 Date date7.
Item $13 Quantity 15-17
Price 19-24 TotalCost 26-32;
run;
proc print data=perm.orders;
run;
- Add a FORMAT statement to the DATA step that associates
Item
with the $ItemFmt format. Note: The libref Library
has already been assigned for you.
- The FORMAT statement should also include the following:
Date DATE9.
TotalCost DOLLAR9.2
- Submit the program and view the output.
Return here and select Next.
|