OBS= tells SAS when
to stop processing rows or records. For example, if OBS=10 is specified,
the result is 10 rows or records.
OBS= is valid for all
steps during your current SAS session or until you change the setting.
You can also use OBS= to control analysis of SAS data sets in PROC
steps.
In WHERE processing,
SAS first subsets the data, and then applies OBS= to the subset. The
FEDSVR engine does not have the concept of observation numbering from
the original data set. It sends back the number of rows requested,
numbered chronologically, regardless of where they occur in the data
set.
If SAS is processing
a raw data file, OBS= specifies the last line of data to read. SAS
counts a line of input data as one row, even if the raw data for several
SAS data set rows is on a single line.
Operating Environment Information: The
syntax that is shown here applies to the OPTIONS statement. In the
command line or in a configuration file, the syntax is specific to
your operating environment. For details, see the SAS documentation
for your operating environment.