My Oracle Support Banner

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.

Goal

 

Caller is on transaction.

 

PSEUDO-CODE :

 

 

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.

 

 


 

 

 

 

Solution

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
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.