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

GetStatus – PB Docs 2018 – PowerBuilder Library

GetStatus – PB Docs 2018

GetStatus

Description

Returns the status of the EJB transaction associated with the
client.

Syntax

Argument

Description

ejbtrans

The name of an EJBTransaction object

Return value

A long value representing the transaction status

Possible values are:

1 — Status active

2 — Status marked rollback

3 — Status prepared

4 — Status committed

5 — Status rolled back

6 — Status unknown

7 — Status no transaction

8 — Status preparing

9 — Status committing

10 — Status rolling back

Examples

This example shows the use of GetStatus to obtain the state of the
current transaction:

Usage

The GetStatus method can be used to determine the current status
of a transaction by the client that initiated the transaction using the
Begin method.

See also

Begin

Commit

GetEJBTransaction
(EJBConnection class)

Rollback

SetRollbackOnly

SetTransactionTimeout


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