IBM Support

Capturing ODM Studio console output into a text file

Technote (FAQ)


How do I capture ODM Studio console output into a text file?


It is often useful to check the ODM Studio console output for traces of errors or other unexpected warnings.


You can do so by launching ODM studio with the "-debug" option. This will result in the printing of the console logs in a new DOS window.

To export the ODM console output to a text file, open a command prompt window (Start -> Run -> cmd) and execute the following commands:

set PATH=<ODME_dir>\bin\x86_win32;%PATH%
set CLASSPATH=<ODME_dir>\lib\odmeall.jar;<ODME_dir>\lib\oplall.jar;%CLASSPATH%
<JRE_dir>\bin\java ilog.oplodm.service.IloOplOdmLauncher -debug ODM_app.odmapp > output.txt 2>&1

This should redirect the console output generated by running ODM_app.odmapp (replace it with your ODM application's absolute location) to a file called output.txt (present in the command prompt's current directory).

Note that you need to list all the jars required by the ODM application in CLASSPATH. In this example, only the two essential jars are listed. In practice, you might need to add other custom or standard jars (under <ODME_dir>\lib) to the CLASSPATH environment variable.

Document information

More support for: IBM Decision Optimization Center
Developing and debugging

Software version: 3.3,,, 3.4,,,, 3.5, 3.6,

Operating system(s): Windows

Software edition: All Editions, Edition Independent

Reference #: 1619192

Modified date: 19 December 2012

Translate this page: