Running Batch Import from the Command Line

In addition to running Batch Import from within SQLWizard, you can run it directly from the development environment's command prompt.

To run an import from the development environment's command prompt, call the xwiz40n program file, and pass it the name of your Batch Import file as shown below:

xwiz40n [-iiniFile] filename.IMP 

where:

iniFile specifies which .ini file Wizard should use when it runs the import. If you do not specify an .ini file, xdb.ini in the working directory is used.
filename is the name of your Batch Import file. The filename must include the extension .imp in its name (such as imfile.imp). If you do not specify the path to filename, the .imp file must be in the current application path (the application path is specified on the PATHS tab).

The following example shows how a Batch Import file called "iempfile" would be run. In this example, the contents of file emp.ini is used to establish SQLWizard's operating configuration.

xwiz40n -ic:\emp.ini iempfile.imp