[Migrated content. Thread originally posted on 04 June 2004]
Usually we include the IO_Creates 1 option in the cblconfigs that we use with our software, but recently we have decided that we don't want IO to create databases but to error out if it cannot find the database needed but when we set IO_Creates to 0, opening a file IO still results in the database being created.Here is an example of the select statement for one of the databases:
select TOX-FILE
assign to disk TOX--File-Name
organization is indexed
access mode is dynamic
record key is TOX-Product-Key
lock mode is manual with lock on multiple records
file status is TOX--Status
.
It does not have the "Optional" attribute so opening it IO I would assume should cause an error if the database does not exist.
Here is a partial listing of a -le output from the runtime:
Runtime version 5.2.1
Using SAFE mode for file access
Configuration file = '@ob1:/devsys/thin/cbldan'
Set parameter 'IO_CREATES' to FALSE
I removed the object loading lines and any application specific variables that we had.
I have tested this with the 521 runtime over 521 Acuserver and through the 6.0 thin client runtime.
Anybody have any ideas why IO still creates the file despite being told not to?
Dan