Previous Page | Next Page

System Options under UNIX

OBS System Option: UNIX

Specifies the last observation that SAS processes in a data set.
Default: MAX
Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window, SASV9_OPTIONS environment variable
Category: Files: SAS Files
UNIX specifics: default value
See: OBS= System Option in SAS Language Reference: Dictionary



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

n | nK | nM | nG | nT

specifies a number to indicate when to stop processing. Using one of the letter notations results in multiplying the integer by a specific value. That is, specifying K (kilo) multiplies the integer by 1,024, M (mega) multiplies by 1,048,576, G (giga) multiplies by 1,073,741,824, or T (tera) multiplies by 1,099,511,627,776. You can specify a decimal value for n when it is used to specify a K, M, G, or T value. For example, a value of 20 specifies 20 observations or records, a value of .782k specifies 801 observations or records, and a value of 3m specifies 3,145,728 observations or records.


specifies a number to indicate when to stop processing as a hexadecimal value. You must specify the value beginning with a number (0-9), followed by hexadecimal characters (0-9, A-F), and then followed by an X. For example, the hexadecimal value F8 must be specified as 0F8x in order to specify the decimal equivalent of 248. For example, the value 2dx specifies the decimal equivalent of 45.


sets the number to 0 to indicate when to stop processing.

If OBS=0 and the NOREPLACE option is in effect, SAS might still be able to take certain actions. See SAS Language Reference: Dictionary for more information.


sets the number 9,223,372,036,854,775,807 to indicate when to stop processing.

Previous Page | Next Page | Top of Page