Supported user exits  Disconnect

Appendix D: TRS Process User Exits

Connect

The Connect user exits provides the ability to override both the User ID and User Password. The user exits 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 the following directory for an implementation example:

$SYBASE/$SYBASE_ECON/servername/sample/trs/ue/ue_connect.cpp 




Copyright © 2005. Sybase Inc. All rights reserved. Disconnect

View this book as PDF