KCLUS Procedure

CODE Statement

  • CODE <options>;

The CODE statement generates the SAS DATA step code that mimics the computations that are done by the SCORE statement.

You can specify the following options:

FILE=filename

specifies the filename of the file to write the SAS score code to.

LABELID=number

specifies a number used to construct array names and statement labels in the generated code. You can specify a value in the range 0 to 1024; by default, LABELID=0.

Last updated: May 14, 2026