BookmarkSubscribeRSS Feed

Accessing and Making Use of SAS Visual Forecasting CAS Table Outputs

Started 2 weeks ago by
Modified 2 weeks ago by
Views 165

This paper intends to explain how to access and make use of CAS tables generated in a SAS Visual Forecasting project in Viya 4. It can be useful when you want to save or manipulate some of the results programmatically in SAS Studio, for example.

Every VF project has an ID associated with it in its Viya environment. You can find the project ID by using the Copy Link button:

 

eduardo_silva_1-1766523491588.png

 

 

The project ID is located after AnalyticsGateway/Projects/, as highlighted in the example below:

 

eduardo_silva_2-1766523516670.png

 

 

With this information in hand, you can access the project caslib by using the following code:

 
libname mylib cas caslib="Analytics_Project_<projectID>";

 

In my example, I should use:

 
libname mylib cas caslib="Analytics_Project_f637043c-9546-489a-830a-3bbca9520432";

 

This libname statement will generate the mylib library associated with the project caslib, and you will be able to see all of its tables in the interface:

eduardo_silva_3-1766523664426.png

 

 

The code '8764ADC7' in some of the tables refers to the pipeline from which the table is associated. If you have more than one pipeline in your project, you will have more than one code. As an example, this is how the outfor table looks:

 

eduardo_silva_4-1766523693709.png

 

 

I hope the above information will help you achieve your goal when manipulating results from SAS Visual Forecasting.


 

Contributors
Version history
Last update:
2 weeks ago
Updated by:

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

SAS AI and Machine Learning Courses

The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.

Get started

Article Tags