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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Discussion stats
  • 2 replies
  • 1814 views
  • 0 likes
  • 2 in conversation