Echelon OpenLNS User Manual
Page 560
OpenLNS Programmer's Reference
523
it is not open, the LCA, #67 lcaErrSystemNotOpen
exception will be thrown.
You should consider using the
network database a last resort. You should backup the
validation with repairs. For more information on this
procedure, see the
method. It is safer for the client
application to remove invalid objects from the database
(delete and recreate a device) than for the database
validation method to attempt to do so.
Depending on the size of the network database, it may take a
considerable amount of time to complete the database
method to check the status of an ongoing
database validation.
You can cancel a validation by invoking the
object. In this case, the method will
The database validation must be initiated locally. While the
database validation is in progress, clients will be unable to
modify or write to the database. As a result, you should
perform the database validation while a minimal number of
client applications are connected to the database. One
suggested approach is to backup the database and restore it
with a different name and location, and perform the
validation on this restored database. This approach will
minimize the disruption caused by the validation, and has
the benefit of producing in a backup whose validity is known.
Availability
Local clients.
Syntax
networkObject.Replace
Element
Description
validationReport
object returned by the method. This
object contains information
describing the results of the
database validation.
network
upon.
validationFlags
Specifies whether inconsistencies
discovered during the database
validation will be repaired.
The valid options for this element,
which are contained in the
ConstDbValidationFlags
constant,
are as follows:
0 lcaDbValidateOnly
OpenLNS performs the database