The first time a STARTEE call is executed, the Execution Environment is started in the same address space as your client program. An internal counter, EECNT, is set to one. You can use the ninth parameter to supply the Execution Environment with the address of your user-written environmental wait routine.
Subsequent STARTEE calls cause the first parameter, HRNHLLWA, to be updated with internal information established by the first STARTEE call. The internal counter EECNT is incremented by one.
It is important to note that only on the first STARTEE call is the address of the environmental wait routine stored in the Execution Environment. Subsequent calls to STARTEE to locate the Execution Environment with this ninth parameter return only the contents of the HRNXDUSR field with the value it was set to on the initial STARTEE call. It is not necessary for your user application programs (client programs) to supply this optional ninth parameter.
In the sample programs provided with TIBCO Object Service Broker, the initial STARTEE call is performed from a startup transaction program. Refer to
Sample Programs for a description of these sample programs.