ERROR: jpmodel.mod: line 2, cols 1-0: syntax error, unexpected end of file error: Dynare: preprocessing failed error:

jpmodel.mod (8.1 KB) jpdat.mod (19.9 KB)

Hi all, I am kazumi432 who is studying dsge-model simulation at japan university bachelor program.
I am now surfacing error so it cannot drive the models on japan-economics due to syntax error on var and varexo command.

Error Messeage is following.

dynare jpmodel
Using 64-bit preprocessor
Starting Dynare (version 4.6.2).
Calling Dynare with arguments: none
Starting preprocessing of the model file …
ERROR: jpmodel.mod: line 2, cols 1-0: syntax error, unexpected end of file

error: Dynare: preprocessing failed
error: called from
dynare at line 282 column 5

anyone know that solusion, please teach me the solusion.

Hi kazumi432,

I cannot make your model run. But there are some problems that you have to fix. First, before estimation try to make simulation work. Second, there are some obvious errors in your equations where there are * signs missing. You sometimes wrote an equation like x(y-z) but it has to be x * (y-z). There are many of those mistakes and before correcting those it is hard to see the underlying problems. Check your equations carefully, maybe you will find other mistakes as well.
Hope this helps and good luck.

Best

Your file has a very old line encoding that prevents correct parsing. Please update the line ending encoding. See footnote 1 of Chapter 4 in the manual.

Dear All,

Thank you tell me that cause of error.
I modified *signs missing.jpmodel.mod (8.7 KB) jpdat.mod (19.9 KB)

however, above error is not solving.

dynare jpmodel
Using 64-bit preprocessor
Starting Dynare (version 4.6.2).
Calling Dynare with arguments: none
Starting preprocessing of the model file …
ERROR: jpmodel.mod: line 2, cols 1-0: syntax error, unexpected end of file
error: Dynare: preprocessing failed
error: called from
dynare at line 282 column 5


what matters happen on the program and why utter “unexpected end of file”?

You did not fix the encoding problem. Try jpmodel.mod (9.0 KB)

Thank you for all!
the problem was solved!