Pipeline Fails to Run for Project with User-Defined Formats

Description

If you create a project using a data set that uses formats created with the FORMAT procedure, running the pipeline fails.

Solution

There are some steps that you need to take to make the format library available to SAS Visual Forecasting and CAS.

  1. Make sure the formats are in a path accessible by CAS, such as cas_path/default/formats/.
  2. Add the format library to CAS. You can use the CAS addFmtLib action, for example:
    cas.addfmtlib="myformats1.sashdat myuserformats2.sashdat"

    For more information about this action, see addFmtLib Action in SAS Viya Programming Documentation.

  3. Set the FMTSEARCH= system option to include the format library, for example:
    cas casauto fmtsearch=(myformats1 myuserformats2);

    For more information about this system option, see FMTSEARCH= System Option in SAS Viya Programming Documentation.

  4. Restart the CAS server.

For more information about user-defined formats in CAS, see these resources.

Last updated: March 16, 2026