Disconnect  Configuring TRS to implement user exits

Appendix D: TRS Process User Exits

Implementing user exits

TRS user exits for Open Server Connect and Disconnect events should be written and tested using the sample exits and test harness provided at $SYBASE/$SYBASE_ECON/serverName/sample/trs/ue. Following is a description of the source, header, makefiles, libraries and executable files, many of which are dependent on your platform.The source files are defined as:

The following header files, depending on your platform:

The following makefiles, depending on your platform:

The following libraries, depending on your platform:

The following executable, depending on your platform:

ue_test.platformTest harness produced from makeexe.platform

where platform is: aix, hpux, sol, or nt.

One parameter is required by ue_test.platform which specifies the dynamic library to be loaded. Following is an example:

ue_test.<platform> ./libtrsue_<platform><ext>

where platform is: aix, hpux, sol, or nt and

ext is .so for AIX and Sun Solaris, .sl for HP-UX, and .dll for Windows.





Copyright © 2005. Sybase Inc. All rights reserved. Configuring TRS to implement user exits

View this book as PDF