Page 1 of 1
Exit code = 3
Posted: Sun Nov 22, 2020 8:28 pm
by kamal
Hi
It appears "Exit code = 3", when running Gams. What should I do?
Please guide me.
Re: Exit code = 3
Posted: Mon Nov 23, 2020 8:12 am
by Renger
Hi
First of all, don't use more than 3 "*" for your comments as errors are shown in the listing as four of them. Searching in your listing for errors is very cumbersome.
If you look for the errors, you will find that you don't have as many equations as you have variables:
Code: Select all
**** Counts do not match
Single equations in unmatched =E= blocks 1013
Unmatched single free variables 980
**** Unmatched free variables = 980
This happens often if the parameters for the data (e.g. an equation for all sectors) has no data for a specific sector, or if you are missing an equation.
Cheers
Renger
Re: Exit code = 3
Posted: Thu Nov 26, 2020 6:46 pm
by kamal
Dear Renger
Thanks a lot