Jacques, If you're referring to UniVerse, use the @TRANSACTION meta-variable:-
"@TRANSACTION * A numeric value. Any nonzero value indicates that a transaction is active; the value 0 indicates that no transaction exists." Regards Mike -----Original Message----- From: [EMAIL PROTECTED] On Behalf Of Jacques G. Sent: Wednesday, 5 March 2008 6:09 a.m. To: u2-users@listserver.u2ug.org Subject: [U2] Testing for TRANSACTION block If there a way for a subroutine to know that it has been called from within a BEGIN TRANSACTION END TRANSACTION I've got a subroutine somewhere that is calling an illegal command for a transaction block and having hard time finding where the call is coming from. ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ The information contained in this Internet Email message is intended for the addressee only and may contain privileged information, but not necessarily the official views or opinions of the New Zealand Defence Force. If you are not the intended recipient you must not use, disclose, copy or distribute this message or the information in it. If you have received this message in error, please Email or telephone the sender immediately. ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/