CASEID subcommand (COMPARE DATASETS command)

The optional CASEID subcommand specifies one or more variables that identify each case. The subcommand name is followed by a list of variables.

  • If you specify multiple variables, each unique combination of values identifies a case.
  • Both files must be sorted in ascending order of the case ID variables.
  • If you do not include the CASEID subcommand, cases are compared in file order. That is, the first case (row) in the active dataset is compared to the first case in the other dataset, and so on.

Example

/CASEID Account_Number