How to avoid getting TPESCVERR when tpcall(TPNOTRAN) is executed by a caller in an aborting transaction ?
(Doc ID 1567044.1)
Last updated on NOVEMBER 04, 2016
Applies to:Oracle Tuxedo - Version 9.1 and later
Information in this document applies to any platform.
Caller is on transaction.
SVC1, SVC2 and SVC3 are services configured with AUTOTRAN=Y
Client simpcl1 calls SVC1 :
tpcall(SVC1, No flag)
Entering within SVC1 : TRANSACTION is automatically BEGUN
a) tpcall(SVC2, No flag)
Within SVC2 service : since the caller is already in transaction and since SVC2 is configured with AUTOTRAN=Y, SVC2 service's execution is part of the transaction begun in SVC1 service.
tpreturn(TPFAIL) is returned.
Inflight transaction begun when entering within SVC1 service will be aborted.
b) tpcall(SVC3, TPNOTRAN flag) is called with TPNOTRAN flag and fails returning TPESVCERR.
SVC3 service is not executed.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document