SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Improving Program Efficiency with Macro Variables
Creating Macro Variables During DATA Step Execution


Question: Suppose you are creating two macro variables, one to substitute the current year (year) into your DATA step program and one to substitute the total amount of taxes (taxes), as calculated by the DATA step. Which macro variable, year or taxes, must be created with the CALL SYMPUT routine?

  taxes must be created with the CALL SYMPUT routine. year can be created with the CALL SYMPUT routine or a %LET statement.
  year must be created with the CALL SYMPUT routine. taxes can be created with the CALL SYMPUT routine or a %LET statement.



  back||next


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

Terms of Use & Legal Information | Privacy Statement