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

Hi, 

 

I am using sas fs batch code & getting error in macro FSRUNPRJ.

 

Below is the error snapshot:

 

ERROR: Exception caught in FSRUNPRJ.
ERROR: The project stage (1) is less than the expected stage (2)
com.sas.analytics.forecasting.client.api.project.ForecastingProjectException: The project stage (1) is less than the expected stage
(2)
at
com.sas.analytics.forecasting.client.impl.project.ForecastingProjectImpl.checkPrerequisitesForTask(ForecastingProjectImpl.java:5430)
at com.sas.analytics.forecasting.client.impl.project.ForecastingProjectImpl.run(ForecastingProjectImpl.java:5237)
at com.sas.analytics.forecasting.client.impl.project.ForecastingProjectImpl.run(ForecastingProjectImpl.java:5116)
at com.sas.analytics.forecasting.bridge.macros.ForecastStudioBridge.runProject(ForecastStudioBridge.java:3317)
Caused by: java.lang.IllegalStateException: The project stage (1) is less than the expected stage (2)
... 4 more
NOTE: DATA statement used (Total process time):
real time 5.54 seconds
cpu time 0.00 seconds

NOTE: Stopping FSRUNPRJ due to errors.

 

 

Thanks in advance...

1 ACCEPTED SOLUTION

Accepted Solutions
kamlesh_suthar
Fluorite | Level 6

I changed the parameter value into the macro and it worked

View solution in original post

2 REPLIES 2
mitrov
SAS Employee

Hi,

 

It sounds like something is wrong with your project. Are you able to open in it Forecast Studio (UI)?

I suggest you contact tech support. They will guide you to provide the information needed to diagnose it.

 

Best 

Michele

kamlesh_suthar
Fluorite | Level 6

I changed the parameter value into the macro and it worked

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2 replies
  • 1224 views
  • 0 likes
  • 2 in conversation