OPTBINNING Procedure

CODE Statement

  • CODE FILE=filename;

The CODE statement generates SAS DATA step code and stores it in a file that can be used for scoring. You must specify the following option:

FILE=filename

specifies the name of the file to write the SAS scoring code to.

The CODE statement is optional. Another, preferable way to save the scoring model is by using an analytic store. For more information, see the section SAVESTATE Statement.

Last updated: October 13, 2026