#define TPMINVAL 0 /* minimum error message /
#define TPEABORT 1
#define TPEBADDESC 2
#define TPEBLOCK 3
#define TPEINVAL 4
#define TPELIMIT 5
#define TPENOENT 6 - 未找着服务
#define TPEOS 7
#define TPEPERM 8
#define TPEPROTO 9
#define TPESVCERR 10
#define TPESVCFAIL 11 - 服务应用报错
#define TPESYSTEM 12
#define TPETIME 13 - 服务超时
#define TPETRAN 14
#define TPGOTSIG 15
#define TPERMERR 16
#define TPEITYPE 17
#define TPEOTYPE 18
#define TPERELEASE 19
#define TPEHAZARD 20
#define TPEHEURISTIC 21
#define TPEEVENT 22
#define TPEMATCH 23
#define TPEDIAGNOSTIC 24
#define TPEMIB 25
#define TPMAXVAL 26 / maximum error message */
A transaction could not commit because either the work performed by the
initiator or by one or more of its participants could not commit.
A call descriptor is invalid or is not the descriptor with which a conversational
service was invoked.
A blocking condition exists and TPNOBLOCK was specified.
The enqueuing of a message on the specified queue failed. The reason for
failure can be determined by the diagnostic returned via ctl.
An event occurred; the event type is returned in revent.
A signal was received and TPSIGRSTRT was not specified.
Due to some failure, the work done on behalf of the transaction could have
been heuristically completed.
Due to a heuristic decision, the work done on behalf of the transaction was
partially committed and partially aborted.
An invalid argument was detected.
The type and subtype of the input buffer is not one of the types and subtypes
that the service accepts.
The caller’s request was not sent because the maximum number of
outstanding requests or connections has been reached.
svcname is already advertised for the server but with a function other than
The administrative request failed. outbuf is updated and returned to the
caller with FML32 fields indicating the cause of the error, as described in
MIB(5) and TM_MIB(5).
Cannot send to svc because it does not exist or is not the correct type of
An operating system error has occurred.
The type and subtype of the reply are not known to the caller.
A client cannot join an application because it does not have permission to do
so or because it has not supplied the correct application password.
A library routine was called in an improper context.
When the TPACK is set and the target is a client from a prior release of the BEA
Tuxedo system that does not support the acknowledgment protocol.
A resource manager failed to open or close correctly.
A service routine encountered an error either in tpreturn() or
tpforward() (for example, bad arguments were passed).
The service routine sending the caller’s reply called tpreturn() with
TPFAIL. This is an application-level failure.
A BEA Tuxedo system error has occurred.
A timeout occurred.
The caller cannot be placed in transaction mode.