Return to Archive

SAS Tip of the Month
December 2007

Last month we looked at the MISSING function, this month we look at the MISSING Routine. This routine is useful if you are filling a variable or variables with missing values. Lets take for example the following fragment of code:


In the example, the variables SEX and RACE are set to blank – we have know if the variables are character or numeric. In SAS there is a way of setting these variables to blank regardless of whether they are numeric or character, SAS works out whether the variables are character or numeric:

   CALL MISSING(sex,race);

See you all next year.

Updated December 1, 2007