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