READ

The READ command reads data.

In general, the format is:

  READ vars / options                or 

  READ (unit) vars / options     or

  READ (filename) vars / options


The available options are:

Option Description
BINARY The data is in double precision binary.
BYVAR The data is read variable by variable.
CLOSE Closes a file that was opened for a READ or WRITE command.
EOF Prevents SHAZAM from reading any further observations.
FORMAT The data is read according to the Fortran type.
LIST Lists all the data read in.
NAMES Specifies that the variable names are included as the first line in the data set.
NOREWIND Prevents the read unit from rewinding.
REWIND Rewinds the input data file before reading any data.
BEG= END= Resets the sample size for the given READ command.
CHARVARS= Specifies the number of character variables that are leading variables in the data set.
ROWS= COLS= Specifies the dimensions of the matrix to be read in.
SKIPLINES= Skips the number of lines specified before reading in any data.