INVALIDDATA= System Option

Specifies the value that SAS assigns to a variable when invalid numeric data is encountered.
Valid in: Configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Input control: Data processing
PROC OPTIONS GROUP= INPUTCONTROL
Note: This option can be restricted by a site administrator. For more information, see Restricted Options.

Syntax

INVALIDDATA='character'

Syntax Description

'character'
specifies the value to be assigned, which can be a letter (A through Z, a through z), a period (.), or an underscore (_). The default value is a period.

Details

The INVALIDDATA= system option specifies the value that SAS is to assign to a variable when invalid numeric data is read with an INPUT statement or the INPUT function.