SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Understanding DATA Step Processing
Debugging a DATA Step


The PRINT procedure displays the data set with the missing values for IDnum. In this example, the periods indicate that IDnum is a numeric variable, although it should be defined as a character variable.
     proc print data=perm.update;
     run;

Obs Item IDnum InStock BackOrd Total
1 Bird Feeder . 3 20 23
2 6 Glass Mugs . 6 12 18
3 Glass Tray . 12 6 18
4 Padded Hangrs . 15 20 35
5 Jewelry Box . 23 0 23
6 Red Apron . 9 12 21
7 Crystal Vase . 27 0 27
8 Picnic Basket . 21 0 21
9 Brass Clock . 2 10 12



back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement