Time Series Model Package

ESMSPEC Object

The ESMSPEC object defines an exponential smoothing model specification for use with the TSM object. The basic execution pattern for defining an ESMSPEC follows this sequence of operations:

  1. Declare: The object declaration statement creates a new ESMSPEC object. By default, it is an ESMSPEC with METHOD=BEST.

  2. Open: The ESMSPEC.Open method initializes the default ESMSPEC object for a new configuration.

  3. Configure: The various ESMSPEC.Set methods configure the ESMSPEC object.

  4. Close: The ESMSPEC.Close method finalizes the ESMSPEC object.

  5. Apply: Add the ESMSPEC to a TSM object using the TSM.Initialize method.

Table 6 summarizes the methods that are associated with the ESMSPEC object.

Table 6: Methods of the ESMSPEC Object

Method Description
Close Close ESM model specification
GetLabel Retrieve label of specified ESM model
Open Open ESM model specification
SetOption Set option for ESM model
SetParm Set parameters for ESM model
SetTransform Set transform for ESM model


You can also store the XML representation of the ESMSPEC object in an output table. For more information, see the section TSMSPEC Object.

Figure 3 illustrates the data flow through the ESMSPEC object.

Figure 3: ESMSPEC Object Data Flow

ESMSPEC Object Data Flow


Last updated: June 04, 2026