#

# LogiView

## How to Export a Logic Model

| ### What to do:
| As a prerequisite for this example, you should have followed the previous examples, i.e. you must have created either the DocuDT decision table or the DocuProcedure.
| Open the Logic Models/Procedures form from the Manager > Macro > LogiView > Logic models menu or click the button .
| Switch to Query mode and search for the DocuLogicModel.
| To start the export process, click the button Export. After a short delay a mask requesting the file name is displayed. The default name is 'export.dat'.
| Enter the file name dokuverbund.dat and click the button OK.
| The generated loader file is saved in the dmp-directory of the current environment which can be determined with the getenv function (put(getenv ("DATAVIEW_DUMP"))).
| Before this file can be imported into another system, it is necessary to generate indexes. This can be either done using the provided script "mk_index" or manually. Call: mk_index Loaderfile.dat The Replace mode should not be used when importing the loader file. Save your database before starting the import!