323.  THE FOLLOWING RANDOM VARIABLE IS NOT ASSIGNED TO A STAGE.

Each random variable declared with @SPSTGRNDV must also be assigned to a stochastic distribution.  LINGO will display the name of the first unassigned random variable.  You will need to use either @SPDISTTABLE or @SPTABLERNDV to assign the variable to a distribution.