TRANSQUERY

TRANSQUERY function is used to detect whether or not a transaction is active on the current process.

COMMAND SYNTAX

    TRANSQUERY()

NOTES

TRANSQUERY will return 1 (true) if the process is within a transaction boundary, and 0 (false) if it is not. In other words, TRANSQUERY will return true if the TRANSTART statement has been issued but a TRANSEND or TRANSABORT statement has not yet been processed.

By default, all hashed files are marked for inclusion in a transaction however this can be modified by the jchmod utility.

Last update: Sat, 16 Jul 2022 15:34