Re: [U2] UV Call Stack

2009-10-27 Thread Bessel, Karen
Yes, I got that from Brian Leach as well. Thanks so much!




Karen Bessel
Software Developer

Tyler Technologies, Inc.
6500 International Parkway, Suite 2000
Plano, TX 75093
Phone: 972.713.3770 ext:6227
Fax: 972.713.3780 
Email: karen.bes...@tylertech.com
Web: http://www.tylertech.com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UV Call Stack

2009-10-26 Thread Brian Whitehorn
UV equivalent is SYSTEM(9001)

HTH.

Cheers,
Brian.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bessel, Karen
Sent: Tuesday, 27 October 2009 3:48 AM
To: U2 Users List
Subject: [U2] UV Call Stack

I had a trigger question last week, and I received some help from the
list (thanks!), and I have another question.

 

A member of the list sent me a program that he uses for triggers, and
it's really nifty, except it uses a U2 function - SYSTEM(49) - that
doesn't seem to have an equivalent in UV.

 

ARGGG.

 

The most important part of this trigger is to get the call stack and
write it out so that I know what program is writing this garbage out.

 

Something like this:

 

Procedure is: KEB; pc = 5C; source line = 20

Called from: PRE.KEB; pc = 6; source line = 13

 

PRE.KEB was the main-line program - called KEB @ line 13.

 

Broke out of KEB at line 20.

 

I need programs and source code line#s. If RAID can show it to me, it's
got to be accessible somehow, right?

 

 



Karen Bessel
Software Developer

Tyler Technologies, Inc.
6500 International Parkway, Suite 2000
Plano, TX 75093
Phone: 972.713.3770 ext:6227
Fax: 972.713.3780 
Email: karen.bes...@tylertech.com
Web: http://www.tylertech.com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-- 
Message  protected by DealerGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.pentanasolutions.com

Click here to report this message as spam:
https://login.mailguard.com.au/report/1yypGG57qA/21zojI7YlqsFipd37QZx4v/6.2


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UV Call Stack

2009-10-26 Thread Brian Leach
Hi Karen

The equivalent on UniVerse is System(9001)

It's nicely undocumented, but here are Charles Stevenson's comments:

"Value 1 of each attribute is the depth in the return stack 
Non-negative numbers mean that those programs are all part of the return
stack. 
Negative numbers below simply mean those subroutines were called and
returned from in the past.
I don't think @LEVEL has anything to do with it, contrary to the patchlist
text 
Value 2 is the program 
Value 3 is the hex address
The object address you see when you VLIST a program
For the negative depths, n/a."

Regards

Brian 

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bessel, Karen
Sent: 26 October 2009 16:48
To: U2 Users List
Subject: [U2] UV Call Stack

I had a trigger question last week, and I received some help from the list
(thanks!), and I have another question.

 

A member of the list sent me a program that he uses for triggers, and it's
really nifty, except it uses a U2 function - SYSTEM(49) - that doesn't seem
to have an equivalent in UV.

 

ARGGG.

 

The most important part of this trigger is to get the call stack and write
it out so that I know what program is writing this garbage out.

 

Something like this:

 

Procedure is: KEB; pc = 5C; source line = 20

Called from: PRE.KEB; pc = 6; source line = 13

 

PRE.KEB was the main-line program - called KEB @ line 13.

 

Broke out of KEB at line 20.

 

I need programs and source code line#s. If RAID can show it to me, it's got
to be accessible somehow, right?

 

 



Karen Bessel
Software Developer

Tyler Technologies, Inc.
6500 International Parkway, Suite 2000
Plano, TX 75093
Phone: 972.713.3770 ext:6227
Fax: 972.713.3780
Email: karen.bes...@tylertech.com
Web: http://www.tylertech.com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] UV Call Stack

2009-10-26 Thread Bessel, Karen
I had a trigger question last week, and I received some help from the
list (thanks!), and I have another question.

 

A member of the list sent me a program that he uses for triggers, and
it's really nifty, except it uses a U2 function - SYSTEM(49) - that
doesn't seem to have an equivalent in UV.

 

ARGGG.

 

The most important part of this trigger is to get the call stack and
write it out so that I know what program is writing this garbage out.

 

Something like this:

 

Procedure is: KEB; pc = 5C; source line = 20

Called from: PRE.KEB; pc = 6; source line = 13

 

PRE.KEB was the main-line program - called KEB @ line 13.

 

Broke out of KEB at line 20.

 

I need programs and source code line#s. If RAID can show it to me, it's
got to be accessible somehow, right?

 

 



Karen Bessel
Software Developer

Tyler Technologies, Inc.
6500 International Parkway, Suite 2000
Plano, TX 75093
Phone: 972.713.3770 ext:6227
Fax: 972.713.3780 
Email: karen.bes...@tylertech.com
Web: http://www.tylertech.com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users