You are here: Field Modifiers > Record

Record

Record refers to a record as a unit, without reference to the fields within the record.

Record specifies that the entire record (whether the entire record is defined or not) is to be placed in the output file rather than selected fields only. This means that the output file contains an exact copy of the input record, including any computed field definitions.

Record can also specify a sampling methodology.

Command Mode Syntax

In the first example, the Extract command produces an output file containing all records in which the Unit Cost is greater than zero.

EXTRACT RECORD IF UnCst > 0 TO "EXTR_1"

In the second example, the Sample command produces a record sample:

SAMPLE ON RECORD RANDOM 3 NUMBER 25 POPULATION 772 RECORD TO "Sample Items" OPEN

Command Dialog Box

In the Extract command, the Record output option is available from the [Main] dialog.

In the Sample command, the Record sampling type is available from the [Main] dialog.