Example: Output Replacing Active Dataset (CLUSTER command)

DATA LIST FILE=ALMANAC1 RECORDS=3
  /1 CITY 6-18(A) POP80 53-60
  /2 CHURCHES 10-13 PARKS 14-17 PHONES 18-25 TVS 26-32
      RADIOST 33-35 TVST 36-38 TAXRATE 52-57(2).
N OF CASES 8.
 
CLUSTER CHURCHES TO TAXRATE
  /ID=CITY
  /MEASURE=EUCLID
  /MATRIX=OUT(*).
LIST.
  • CLUSTER writes the same matrix as in the previous example. However, the matrix data file replaces the active dataset. The LIST command is executed on the matrix file, not on ALMANAC1.