Chapter Contents

Previous

Next
OBS

OBS



Causes processing to end with the nth observation

Default: MAX, or 2,147,483,647
Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Windows specifics: Valid range


Syntax
Details
See Also

Syntax

-OBS n | nK | nM | nG | hexX | MAX | MIN
OBS=n | nK | nM | nG | hexX | MAX | MIN

n | nK | nM | nG
specifies the number of the last obserervation to process in multiples of 1; 1,024 (kilobytes); 1,048,576 (megabytes); and 1,073,741,824 (gigabytes), respectively. For example, a value of 8 specifies 8 bytes and a value of 3M specifies 3,145,728 bytes.

hexX
specifies the number of the last observation to process as a hexadecimal number. This number must be followed by an X.

MAX
specifies the maximum number of observations to process. Under Windows, the value of MAX is 2,147,483,647. This is the default.

MIN
specifies to set the number of the last observation to process to 0.


Details

The OBS system option specifies which observation from a data set or which record from a raw data file that SAS reads last.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.