Updated: 11/30/2021, 7:00:45 PM
Created: 11/30/2021, 7:00:45 PM
Last Updated By: Jake Tuttle
Read Time: 1 minute(s)

# Description

The TRANSQUERY function is used to detect whether or not a transaction is active on the current process. It takes the general form:


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 using the jchmod utility.

Go back to jBASE BASIC

Go back to Programmers' Reference Guide