Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

ResumeTransaction – PB Docs 126 – PowerBuilder Library

ResumeTransaction – PB Docs 126

ResumeTransaction PowerScript function

Description

Associates the EAServer transaction
passed as an argument with the calling thread.

Controls

CORBACurrent objects

Syntax

Argument

Description

CORBACurrent

Reference to the CORBACurrent service
instance

handletrans

An unsignedlong containing the handle
of a suspended transaction

Return Values

Integer. Returns 0 if it succeeds and
one of the following negative values if an error occurs:

  • -1

    Unknown failure

  • -2

    The transaction referred to by handletrans is
    no longer valid

Usage

The ResumeTransaction function associates the transaction
referred to by the handletrans argument with
the calling thread. The argument is obtained from a call to SuspendTransaction and
may refer to a transaction that was previously associated with the
current thread or with a different thread in the same execution
environment.

note.png Caution

The handletrans argument must be
obtained from the SuspendTransaction function.
Using any other value as the argument to ResumeTransaction may have
unpredictable results.

ResumeTransaction can be called by a client
or a component that is marked as OTS style. must be using the two-phase
commit transaction coordinator (OTS/XA).

Examples

This example shows the use of the ResumeTransaction function
to associate the calling thread with the transaction referred to
by the ll_handle argument returned
by SuspendTransaction:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x