Saturday, March 10, 2012

INFORMAT IN SAS

To read a nonstandard data, we must use an informat
The general form of an informat is

<$>INFORMAT-NAME<w>.<d>

The commonly used Informats are

MMDDYYw.- Reads date in the form 12/19/2011
DATEw.        - Reads date in the form 19DEC2011
COMMAw.   - It reads numeric data($5,55) and strips out selected nonnumeric characters, such as dollar sign                                             and commas.


No comments:

Post a Comment