Connect

The Connect user exit provides the ability to override both the user ID and user password. The user exit is called at the end of all DirectConnect connection processing but prior to the TRS connection processing. This allows the user ID and user password to remain intact for Open Client and Open Server connections and change for connections from TRS to DB2 UDB.

The TRS connection handler will query the length of the user exits returned user ID and password string buffers to determine data content. When data is present, it will be transferred to the TRS User ID and Password buffers.

Refer to this directory for an implementation example:

/<install_dir>/DC-15_0/srvname/sample/trs/ue/ue_connect.cpp