Learning More

INFILE statement options
The “INFILE Statement” in SAS Statements: Reference contains information about using the MISSOVER and STOPOVER options in the INFILE statement as debugging tools.
The MISSOVER option prevents a SAS program from going past the end of a line to read values with list input if it does not find values in the current line for all INPUT statement variables. SAS then assigns missing values to variables for which no values appear in the current input line.
The STOPOVER option stops processing the DATA step when an INPUT statement that uses list input reaches the end of the current record without finding values for all variables in the statement. SAS then sets _ERROR_ to 1, stops building the data set, and writes ...

Get Step-by-Step Programming with Base SAS 9.4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.