EMS logo

Produits

DB Extract for DB2

Notre statut de partenariat

Microsoft Certified Partner
Oracle Certified Partner
Embarcadero Technology Partner

DB Extract for DB2

Documentation en ligne

Using console application


All the extraction options are set in template (*.ext) files. A template can be also used in the Console version of DB Extract for DB2

 

To create a template file, follow the instructions below:

 

The easiest way to start DB Extract for DB2 console application is to double-click the generated *.ext configuration file. The other way is to enter the command line and type the appropriate command.

 

Usage:

 

<path to DB Extract for DB2 console application>\Db2ExtractC.exe TemplateFile [-L] [-B]

 

TemplateFile

Stands for the *.ext template file to be used as the console version execution parameter

 

[-L]

Selects current localization set in Wizard application (GUI)

 

[-B]

Use this parameter in the command line to run the console version of DB Extract for DB2 in background mode

 

Example:

 

"C:\Program Files\EMS\DB2 Extract\Db2ExtractC.exe" "C:\Program Files\EMS\DB2 Extract\DBExtract1.ext" -L

 

Note: The result of the latest task performed by DB Extract for DB2 can be found in the system variable '%ERRORLEVEL%'.

0 - successful completion;

1 - error(s) occurred during task performing;

2 - fatal error occurred. The task was not performed.

 


See also:

Using wizard application

Configuration file format