Example: Output to External File (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(CLUSMTX).
  • CLUSTER reads raw data from file ALMANAC1 and writes one set of matrix materials to file CLUSMTX.
  • The active dataset is still the ALMANAC1 file defined on DATA LIST. Subsequent commands are executed on ALMANAC1.