Run Time OI (None Specified)
At 09 SEP 1998 09:23:25PM Michael - LMS wrote:
We were running OI 3.4.1 and were having problems getting our upgrade routine, based on the RDKModuleInstall routine, to create new tables and add new dictionary items to tables in a run time system. This same routine worked fine when we ran in developer mode.
We were then told to make sure we were using the RDKInstallInit routine to temporarily turn our run time system into a developer system. We did this and still got the same problem.
We were then told it was probably because we were not running the latest version of OI, so we upgraded to OI 3.6.1 and are still having the same problem.
How can I create new tables or add new dictionaries to my clients run time systems with my upgrade routine???
Thanks,
Michael
At 10 SEP 1998 01:47PM David Carrano wrote:
Michael,
Do the tables that you are trying to deploy have indexes on them? If so you may want to deploy without the indexes and then add them back on in your runtime system. To do this you can follow this [url=http://www.revelation.com/WEBSITE/knowledge.nsf/88e0581886ff6a0d8525651c004caecf/e712d92cb2dd04ab852564a0004da200?OpenDocument]article.[/url] If these tables do not have indexes let me know and I will see what else I can come up with.
DaveRevelation
At 10 SEP 1998 08:14PM Michael - LMS wrote:
Dave,
When we want to add a new table with our upgrade routine we create a new table, using the Create_Table routine, as part of the "Pre Processing". Then, as part of the main part of the upgrade routine, we add the dictionary fields to this table. Finally, as part of the "Post Processing", we add any indexes to the new table.
The routine works if we use a development copy of OI.
It fails if we use a run time copy of OI and attempt to create the new table or if we try to add a new dictionary field to an already existing table.
At 11 SEP 1998 08:57AM Cameron Purdy wrote:
Michael,
Are you using a CREATE TABLES section or calling your code to call Create_Table directly? If the latter, what is the error code?
Cameron Purdy
Revelation Software
At 11 SEP 1998 09:05AM David Carrano wrote:
Michael,
Sorry for the misunderstanding. I thought you were using the RDK to add new tables to your runtime system. You can not create tables or fields in a runtime system. So the behavior you are seeing is correct. You should use the RDK(upgrade/module) to add a new table to our runtime system.
DaveRevelation
At 11 SEP 1998 09:11AM Cameron Purdy wrote:
Michael,
It sounds like you are not calling RDKInstall. When you call RDKInstall, it takes care of everything else. If you want to replace the module install, you can do that or just have it call your program using the EXECUTE PROCEDURES label (or something like that).
Cameron Purdy
Revelation Software