db2oreg1.exe overview
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:
- your applications that use the IBM Data Server Driver for ODBC and CLI will be participating in distributed transactions managed by the DTC; or
- your applications that use the IBM Data Server Driver for ODBC and CLI will be connecting to ODBC data sources.
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:
- you install the IBM Data Server Driver for ODBC and CLI; and
- you uninstall the IBM Data
Server Driver for ODBC and CLI.
The
db2oreg1.exe
utility makes changes to the Windows registry when you run it after installing the driver. If you uninstall the driver, you should run the utility again to undo those changes.
How to run the db2oreg1.exe utility
db2oreg1.exe
is located inbin
subdirectory where the IBM Data Server Driver for ODBC and CLI is installed.- To list the parameters the
db2oreg1.exe
utility takes, and how to use them, run the utility with the "-h
" option.