datalist

Purpose

List selected variables from a dataset.

Format

datalist dataset [[var 1 [[var 2 ...]]]]
Parameters:
  • dataset (literal) – name of the dataset.

  • var# (literal) – the names of the variables to list.

Global Input

__range

scalar, the range of rows to list. The default is all rows.

__miss

scalar, controls handling of missing values.

0

display rows with missing values.

1

do not display rows with missing values.

The default is 0.

__prec

scalar, the number of digits to the right of the decimal point to display. The default is 3.

Examples

datalist freq age sex pay;

This command will display the variables age, sex, and pay from the dataset freq.dat.

Remarks

The variables are listed in an interactive mode. As many rows and columns as will fit on the screen are displayed. You can use the cursor keys to pan and scroll around in the listing.

Source

datalist.src