When you install ONIXEDIT, an application console called OnixEditImport.exe is also installed in the ONIXEDIT package (normally C:\Program Files\ONIXEDIT). If you bought ONIXEDIT Pro or the optional Import/Export generic tool offered with the regular edition, you will be able to use this special application. This console application can be used to perform bulk import/export of flat/ONIX files. For example, it can be launched daily as a task on your operating system called up by an agent on your SQL server or by any other program. The goal is to allow you to automatize the transformation of flat files to ONIX files.


Usage of this application is simple:


The application manages each file found in an input folder and converts it into an ONIX file by applying an import script created using ONIXEDIT. The ONIX files which are generated are then saved in an output folder with the same name as the input file, however, with the extension ".xml"


To launch the OnixEditImport application manually, you need to start with a Command Prompt window. The console application requires the following parameters, in order:


 Complete access path to the import script

 Complete access path to the input folder

 Complete access path to the output folder

 /r optional parameter indicating that the application should delete the treated files from the input folder after their conversion

 /h optional parameter which will hide the Command Prompt window


Example:


cid:image001.png@01CA7FFC.F527E8C0


If everything goes well, the application will treat all the files from the entry folder and will exit without error at the end. If a problem occurs, an error code will be returned and the complete description of the error will be saved in the system log; open Event Viewer to see.