Model bloc

Hello!
I have a problem with my model code, especially in the model bloc. When I run the code, I get an error mesage like ERROR: File.mod:59.53: syntax error, unexpected ';'
I think Dynare does not recognize some of equation in the bloc model as such. Could anybody have a solution for that? What does such message mean?
Best regards

Please post your mod file

Hi,
it simply means that in that line Dynare does not expect a ‘;’. Probably because it should be put few lines after or before that point.
If u attach the code I’ll have a look.
Best,
RT

Hello!
Here is my .mod file. I couldn’t explain in full detail what each equation stands for. However, the bloc model meet the requirement of dynare code.
Your assistance is wellcome. If anything wrong in the model bloc please let me know.
best regards
Gambia3.mod (10 KB)

The first error I get is on line 98:

You get this error because you have not closed the parenthesis in that equation. You have:

tc=rhoc*tc(-1)+(1-rhoc)*(phic*y(-1)+gamc*((b(-1)))+e_c;

Fixing this yields the same error for several equations.

Hello!
I ran my model and I got the expected outcome but unfortunately with the error message below:
Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 4.238587e-064.

In evaluate_steady_state at 76
In resol at 108
In check at 71
In Gambia at 253
In dynare at 120
How can I solve this problem and get the best result?
Adding one more equation to my model, I got this message:
Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 1.179317e-063.
In evaluate_steady_state at 76
In resol at 108
In stoch_simul at 76
In Gambia at 284
In dynare at 120
??? Error using ==> print_info at 43
Blanchard Kahn conditions are not satisfied: indeterminacy

Error in ==> stoch_simul at 81
print_info(info, options_.noprint);

Error in ==> Gambia at 284
info = stoch_simul(var_list_);

Error in ==> dynare at 120
evalin(‘base’,fname) ;
and the program couldn’t run. I mean I did not get the expected outcome. I hope this may come from the initial value for the endogenous and exogenous variables.
How best can I find the steady state that satisfies the rank condition?
Thanks