[U2] Testing for TRANSACTION block

2008-03-04 Thread Jacques G.
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.


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Testing for TRANSACTION block {Unclassified}

2008-03-04 Thread HENDERSON MIKE, MR
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/


Re: [U2] Testing for TRANSACTION block

2008-03-04 Thread Louie Bergsagel
If your subroutines don't return their name in the error message when they
fail, the only other things I've done is to use RAID, or to put debug
statements in the programs:

IF UPCASE(@SENTENCE) MATCHES 0X'DEBUG'0X THEN DEBUG = @TRUE ELSE DEBUG =
@FALSE

IF DEBUG THEN DISPLAY Begin subroutine DO.SOMETHING:DATE():' ':TIME()
CALL DO.SOMETHING(ARGS...)
IF DEBUG THEN DISPLAY End subroutine DO.SOMETHING:DATE():' ':TIME()

-- Louie




On Tue, Mar 4, 2008 at 9:09 AM, Jacques G. [EMAIL PROTECTED] wrote:
 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.





  Be a better friend, newshound, and
  know-it-all with Yahoo! Mobile.  Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
  ---
  u2-users mailing list
  u2-users@listserver.u2ug.org
  To unsubscribe please visit http://listserver.u2ug.org/




-- 
-- Louie

http://louieinseattle.blogspot.com/ (updated 3/1/08)
http://www.cafepress.com/louieinseattle
http://www.louisbergsagel.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Testing for TRANSACTION block

2008-03-04 Thread Colin Alfke
UniData uses SYSTEM(49) for the call stack.

hth
Colin Alfke
Calgary, Canada

-Original Message-
From: Jacques G.

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/


RE: [U2] Testing for TRANSACTION block

2008-03-04 Thread David A. Green
In UniData there is @TRANSACTION.

Thanks,
David A. Green
www.dagconsulting.com
(480) 813-1725


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jacques G.
Sent: Tuesday, March 04, 2008 10:09 AM
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.


 


Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Testing for TRANSACTION block

2008-03-04 Thread phil walker
In Universe these is @TRANSACTION.LEVEL I believe or @TRANSACTION. You
also have SYSTEM(9001) ? which will give you the call stack. It is
probably a EXECUTE of a command or SH which is generally illegal. You
can turn then on by adding a 'H' from memory to attribute 4 of the VOC
file entry.

Sorry to be vague but I don't have access to a system at the moment.

Cheers,

Phil.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jacques G.
Sent: Wednesday, 5 March 2008 7:16 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.


 


Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Testing for TRANSACTION block

2008-03-04 Thread Perry Taylor
If you are running on UniVerse try @TRANSACTION.

Perry 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jacques G.
Sent: Tuesday, March 04, 2008 12:09 PM
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.


 


Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential and 
privileged information.  Any unauthorized review, use, disclosure or 
distribution is prohibited. ZirMed, Inc. has strict policies regarding the 
content of e-mail communications, specifically Protected Health Information, 
any communications containing such material will be returned to the originating 
party with such advisement noted. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/