SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Debugging and Testing DATA Steps
Understanding DATA Step Processing


Question:
Look at the DATA step below. Not counting the automatic variables, how many variables should the program data vector contain? The data set Site7.Sale contains 6 variables.
  data site7.qtr1sale;
     set site7.sale;
     Bonus=250;
     SalesRepTotal=salary+bonus;
  run;

Description of Site7.Sale
Variable Type Length
SalesRep C 3
Salary N 8
Region C 1
Goal N 8
Year N 8
Sale N 8

  6
  7
  8
  10


  back||next

 

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

Terms of Use & Legal Information | Privacy Statement