System-Defined Macros and Macro Variables

When writing your own modeling nodes, you can use a set of system-defined macro variables and macros in the run-time code to obtain references to the input data, output forecasts, CAS session, caslibs, table names, variable roles, and settings from the pipeline. When writing run-time code, you can refer to these macro variables and macros to retrieve information and generate TSMODEL procedure statements.

Last updated: March 16, 2026