EXTENDOBSCOUNTER= Data Set Option

Specifies whether to extend the maximum observation count in a new output SAS data file.
Valid in: DATA step and PROC steps
Category: Data Set Control
Alias: EOC=
Default: NO
Restrictions: Use with output data files only.

Use with the BASE engine only.

Syntax

EXTENDOBSCOUNTER=NO | YES

Syntax Description

NO
specifies that the maximum observation count in a newly created SAS data file is determined by the long integer size for the operating environment. In operating environments with a 32-bit long integer, the maximum number is 231–1 or approximately two billion observations (2,147,483,647). In operating environments with a 64-bit long integer, the number is 263–1 or approximately 9.2 quintillion observations.
YES
requests an enhanced file format in a newly created SAS data file that counts observations beyond the 32-bit long limitation. For a SAS data file that is created for an operating environment that stores the number of observations with a 32-bit long integer, the data file behaves like a 64-bit file with respect to counters.
Restrictions:A SAS data file that is created with EXTENDOBSCOUNTER=YES is incompatible with releases before SAS 9.3.

Specify EXTENDOBSCOUNTER=YES only for an output SAS data file whose internal data representation stores the observation count as a 32-bit long integer. For a table that lists the operating environments and OUTREP= data representation values that are appropriate with EXTENDOBSCOUNTER=YES, see When to Use the EXTENDOBSCOUNTER=YES Option in SAS Language Reference: Concepts.

See Also

Extending the Observation Count in a SAS Data File in SAS Language Reference: Concepts