Mixing Input Styles

Evaluating your raw data and choosing the most appropriate input style is a very important task. You have already worked with three input styles for reading raw data.
Input Styles and the Types of Information They Read
Input Style
Reads
Column
standard data values in fixed fields
Formatted
standard and nonstandard data values in fixed fields
List
data values that are not arranged in fixed fields, but are separated by blanks or other delimiters
With some file layouts, you might need to mix input styles in the same INPUT statement in order to read the data correctly.
Look at the raw data file below and think about how to combine input styles to read these values.
Raw Data Showing Mixed Input ...

Get SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition 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.