Reading Raw Data |
An input value is invalid if it has any of the following characteristics:
It does not match the input style used; for example, if it is read as standard numeric data (no dollar sign or informat) but does not conform to the rules for standard SAS numbers.
Operating Environment Information: The range for numeric values is operating environment-specific. See the SAS documentation for your operating environment for more information.
If SAS reads a data value that is incompatible with the type specified for that variable, SAS tries to convert the value to the specified type, as described in How SAS Handles Invalid Data. If conversion is not possible, an error occurs, and SAS performs the following actions:
sets the value of the variable being read to missing or to the value specified with the INVALIDDATA= system option
sets the automatic variable _ERROR_ to 1 for the current observation.
prints the input line and column number containing the invalid value in the SAS log. If a line contains unprintable characters, it is printed in hexadecimal form. A scale is printed above the input line to help determine column numbers
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.