Page 1 of 1

Writing data to database

Posted: Sun Apr 27, 2008 4:24 pm
by mruud
I have a model with defined vdi-file to read from a database, and a vdo-file to write to another database. When running the model from the Vensim environment it reads and writes as it is expected to do. I have written an application that controles the running of the model. When I run the model from this application it still reads data, but it will not write. Any ideas where to look for errors?

Posted: Mon Apr 28, 2008 11:18 am
by bob@vensim.com
Are you using a SPECIAL>RUNCOMMAND to specify the .vdo file or simply depending on the way the model was setup (or using a SIMULATE>POSTPROCESS command to specify it? The first of these is likely the most reliable.

You should also check the error log to see what Vensim is reporting.