Informats determine how data values are read into a SAS
data set. These data values can be standard or nonstandard. You
must use informats to read numeric values that contain letters
or other special characters.
To read values in some particular form, you select the appropriate informat. For example, the numeric value $1,234 contains two special characters, a dollar sign and a comma. You can use an informat (here, COMMA.) to read the value while removing the dollar sign and comma, then store the resulting value as a standard numeric value. |
Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.