Forecasting Using a Forecast Context |
To forecast using a forecasting context, take the following steps:
Create the objects that you need to hold the results of the forecast.
Write a forecasting program. Within the program, issue the following statements in the order indicated:
FCOPEN function -- Creates a forecasting context.
FCSET command -- Specifies the forecast characteristics to be used by the "expert system".
FCEXEC command -- Executes a forecast and populates Oracle OLAP variables with forecasting data.
FCQUERY function -- Retrieves information about the characteristics of a forecast or a trial of a forecast.
FCCLOSE command -- Closes a forecasting context.
For examples of using the a forecasting context to forecast data see Example: A Forecasting Program. For examples of simple forecasts using the FORECAST command, see Example: Using the EXPONENTIAL Method and Example: Using the WINTERS Method.