No worries.
Thanks.
The bounds in the PARM statement must be known numbers. As @sbxkoenk said, you will need to use a macro variable that will substitute appropriate value of Upper_limit_Var1 for each BY group to do what you are trying to do (basically a separate PROC SSM call per BY group).
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!
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.