Caravan Database tables can get currupted when the system is switched off while data is being written. This does not happen if the caravan is shutdown normally. In windows it can happen even if the caravan is closed by the taskmanager or windows is shutdown without shutting down caravan first. In OS/2 it can happen only if there is a power failure. The tables are built using a balanced btree algoirithm which is very sensitive to data corruption. But the implementation is rugged enough that we have not camoe across any data corruption in systems running for months. Still, beginning with ver 3.02 a new feature is added in caravan which will automatically detect any inconsistencies and shutcdown immediately. Next time caravan is restarted it will automatically repair the affected tables, minimising any data loss.