set errors continue
set pagelength 0

connect omnidex

; Remove existing files

remove english/excluded_tags/*.ofx
remove english/included_tags/*.ofx
remove english/lists/*.ofx
remove english/phonetic/*.ofx
remove english/stopwords/*.ofx
remove english/synonyms/*.ofx

remove english/excluded_tags/tdferr.tdf
remove english/included_tags/tdferr.tdf
remove english/lists/tdferr.tdf
remove english/phonetic/tdferr.tdf
remove english/stopwords/tdferr.tdf
remove english/synonyms/tdferr.tdf

; Load OFX's for each table

set errors exit

load ofx for table $LISTS
load ofx for table $STOPWORDS
load ofx for table $SYNONYMS
load ofx for table $PHONETIC
load ofx for table $INCLUDED_TAGS
load ofx for table $EXCLUDED_TAGS
;don't load ofx for table $MESSAGES

disconnect
