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-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

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