DB2 Version 10.1 for Linux, UNIX, and Windows

db2oreg1.exe overview

You can use the db2oreg1.exe utility to register the XA library of the IBM® Data Server Driver for ODBC and CLI with the Microsoft Distributed Transaction Coordinator (DTC), and to register the driver with the Microsoft ODBC driver manager. You need to use the db2oreg1.exe utility on Windows operating systems only.

The db2oreg1.exe utility is deprecated and will become unavailable in a future release. Use the db2cli DB2® interactive CLI command instead.

For IBM Data Server client packages on Windows 64-bit operating systems, the 32-bit version of the db2oreg1.exe utility (db2oreg132.exe) is supported in addition to the 64-bit version of db2oreg1.exe.

Conditions requiring that you run the db2oreg1.exe utility

You must run the db2oreg1.exe utility if:

You can also run the db2oreg1.exe utility to create the db2dsdriver.cfg.sample and db2cli.ini.sample sample configuration files.

When to run the db2oreg1.exe utility

If you use the db2oreg1.exe utility, you must run it when:

How to run the db2oreg1.exe utility