[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


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] Uniobjects licence

2009-10-26 Thread Symeon Breen
Does anybody know if unidata has to be fully licenced before unirpcd will
accept uniobjects connections, or will it still work during the 60 day grace
period like the rest of udt ?

 

 

Thanks

Symeon.

 

 

 

 

 

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


Re: [U2] Count tab characters

2009-10-26 Thread Larry Hiscock
tr -d '\n'  myfile | sed 's/[^\t]//g' | wc -c


Larry Hiscock
Western Computer Services


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of iggch...@comcast.net
Sent: Monday, October 26, 2009 4:02 PM
To: u2-Users
Subject: [U2] Count tab characters



Hi all, 



Can anyone tell me a unix command that will count the number of tab characters 
in a unix regular file?  I'm using the wc command to return bytes, lines, etc 
but now I need to count ONLY the tabs.  For some reason, I thought grep -c 
would work for me but forgot that that only returns the number of lines that 
have a tab character.  I could open the file sequentially and count but I need 
something that is fast fast fast. 



Thanks 
___
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


Re: [U2] Count tab characters

2009-10-26 Thread Ben Souther
Check your version of grep and see if it supports the -o option.

-o matches each copy of the pattern and puts it on a separate line.
You can then pipe the results into wc -l to get the total count for that
character.





On Mon, 2009-10-26 at 23:02 +, iggch...@comcast.net wrote:
 
 Hi all, 
 
 
 
 Can anyone tell me a unix command that will count the number of tab 
 characters in a unix regular file?  I'm using the wc command to return bytes, 
 lines, etc but now I need to count ONLY the tabs.  For some reason, I thought 
 grep -c would work for me but forgot that that only returns the number of 
 lines that have a tab character.  I could open the file sequentially and 
 count but I need something that is fast fast fast. 
 
 
 
 Thanks 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
-- 
Ben Souther
Manager, Web and Web Service Development
bsout...@fwdco.com | 508.927.8147
FWDavison  Company, Inc.
10 Cordage Park Circle, Suite 200
Plymouth, MA 02360-7318

CONFIDENTIALITY NOTICE:  This e-mail message, and any accompanying
documents, is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized
review, use, disclosure, distribution or copying is prohibited. If you
are not the intended recipient, please contact our office by e-mail or
by telephone at (508) 747-7261 and immediately destroy all copies of the
original message.

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


Re: [U2] Count tab characters

2009-10-26 Thread Boydell, Stuart
tr -dc '\t'  file1 | wc -c

Stuart Boydell 


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of iggch...@comcast.net
Sent: Tuesday, 27 October 2009 10:02
To: u2-Users
Subject: [U2] Count tab characters



Hi all, 



Can anyone tell me a unix command that will count the number of tab characters 
in a unix regular file?  I'm using the wc command to return bytes, lines, etc 
but now I need to count ONLY the tabs.  For some reason, I thought grep -c 
would work for me but forgot that that only returns the number of lines that 
have a tab character.  I could open the file sequentially and count but I need 
something that is fast fast fast. 



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

 
**
This email message and any files transmitted with it are confidential and 
intended solely for the use of addressed recipient(s). If you have received 
this communication in error, please reply to this e-mail to notify the sender 
of its incorrect delivery and then delete it and your reply.  It is your 
responsibility to check this email and any attachments for viruses and defects 
before opening or sending them on. Spotless collects information about you to 
provide and market our services. For information about use, disclosure and 
access, see our privacy policy at http://www.spotless.com.au 
Please consider our environment before printing this email. 
** 

___
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