Introduction to Packages for the TSMODEL Procedure

The REQUIRE Statement

The REQUIRE statement in the TSMODEL procedure enables your custom SAS code to access the objects and functions in the packages that are specified in the statement. You can use specify multiple packages in a single REQUIRE statement, as follows:

  • REQUIRE package-1 <package-2…package-n>;

You can selectively identify which objects within a package you intend to use, as shown in the following statement:

  • REQUIRE package (class-1 …class-n );

In contrast to objects, the functions offered by a package are always available when a package is registered via the REQUIRE statement; they do not have to be individually specified.

The REQUIRE statement does not automatically create any instances of the objects in the packages that you specify. For more information about the REQUIRE statement, see the Chapter 16, TSMODEL Procedure (SAS Visual Forecasting: Forecasting Procedures).

Last updated: November 24, 2025