BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
CharlesYu4
Calcite | Level 5

Hello, experts,

 

I was successfully able to run this code in EG:

 

 

%fslogin(desktop=no,user=[me],password=xxxxxxx);

%fsrunprj(method=FORECAST,importdata=YES,projectname=[my project name],environment=[my environment]);
%put &fsrunprj;

%fslogout();

 

The variable FSRUNPRJ resolves to SUCCESS, but I'm not entirely sure where the output for this program ended up. When I run it in Forecast Studio, I get the graphs and such. Where did my output go, and can I specify where it ends up?

 

Thanks in advance,

Chuck

 

1 ACCEPTED SOLUTION

Accepted Solutions
rajib_nath
SAS Employee

Hi Chuck,

 

The macro %fsrunprj() does not generate any output. It updated an existing project based on your selection of the method= option. To see the effect of the run, you need to open the project you chosen to run.

 

Regards, Rajib

 

Typical use cases:

- You want to update the forecasts, after new data is available for forecasting

- Change forecast horizon 

- And when you want to do everything non-interactively without actually opening a project.

 

The documentation page is https://go.documentation.sas.com/?docsetId=fsdskag&docsetTarget=p1135n8po860rgn1itaddbtsuzya.htm&doc...

 

Let me know if you have any doubts.

View solution in original post

1 REPLY 1
rajib_nath
SAS Employee

Hi Chuck,

 

The macro %fsrunprj() does not generate any output. It updated an existing project based on your selection of the method= option. To see the effect of the run, you need to open the project you chosen to run.

 

Regards, Rajib

 

Typical use cases:

- You want to update the forecasts, after new data is available for forecasting

- Change forecast horizon 

- And when you want to do everything non-interactively without actually opening a project.

 

The documentation page is https://go.documentation.sas.com/?docsetId=fsdskag&docsetTarget=p1135n8po860rgn1itaddbtsuzya.htm&doc...

 

Let me know if you have any doubts.

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 lock in 2025 pricing—just $495!

Register now

Discussion stats
  • 1 reply
  • 923 views
  • 0 likes
  • 2 in conversation