OBS System Option: Windows
Specifies when to stop processing observations or
records.
Valid in: |
configuration file, SAS invocation, OPTIONS statement, SAS
System Options window
|
Category: |
Files: SAS Files |
PROC OPTIONS GROUP= |
SASFILES |
Default: |
MAX |
Windows specifics: |
Valid range |
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, with n being an integer. 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, 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
to indicate when to stop processing as a hexadecimal value. You must
specify the value beginning with a number (0–9), followed by
an X. For example, the hexadecimal value F8 must be specified as 0F8X
in order to specify the decimal equivalent of 248.
The value 2dx
specifies the decimal equivalent
of 45.
- MIN
-
sets the number to
indicate when to stop processing to 0.
- MAX
-
sets the number to
indicate when to stop processing to 2,147,483,647. On 64–bit
systems, MAX is 9,223,372,036,854,775,807. MAX is the default.