OBS System Option: UNIX

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

Syntax

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

Required Arguments

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.
hexX
specifies a number as a hexadecimal value to indicate when to stop processing. 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.
MIN
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. For more information, see OBS= System Option in SAS System Options: Reference.
MAX
sets the number 9,223,372,036,854,775,807 to indicate when to stop processing.