Understanding DATA Step Processing |
Execution
Phase![]() ![]() |
At the end of the execution phase, the SAS log confirms that the raw data file was read and displays the number of observations and variables in the data set. |
SAS Log
NOTE: 9 records were read from the infile INVENT. NOTE: The data set PERM.UPDATE has 9 observations and 5 variables. |
You already know how to display the data with the PRINT procedure.
Remember to use the two-level name of the data set.
proc print data=perm.update; run; |
Obs | Item | IDnum | InStock | BackOrd | Total |
1 | Bird Feeder | LG088 | 3 | 20 | 23 |
2 | 6 Glass Mugs | SB082 | 6 | 12 | 18 |
3 | Glass Tray | BQ049 | 12 | 6 | 18 |
4 | MN256 | 15 | 20 | 35 | |
5 | Jewelry Box | AJ498 | 23 | 0 | 23 |
6 | Red Apron | AQ072 | 9 | 12 | 21 |
7 | Crystal Vase | AQ672 | 27 | 0 | 27 |
8 | Picnic Basket | LS930 | 21 | 0 | 21 |
9 | Brass Clock | AN910 | 2 | 10 | 12 |
![]() ![]() ![]() ![]() ![]() ![]() |
|
![]() |
![]() |
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.