In UniVerse, @ABORT.CODE is set to signify the reason code. I can't
recall value set for AUTOLOGOUT though and I can't check right now.

Regards
David


-----Original Message-----
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Mike Roosa
Sent: Friday, 27 February 2009 1:38 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] AUTOLOGOUT and ON.ABORT

We are running Universe on a Windows 2003 server and trying to set up
some
code to run when the user hits a runtime error.  I wrote a small program
to
be called from ON.ABORT that logs the user id, date, time, and presents
the
user with a message telling them to contact support so that we can look
at
their problem.
Our users have their AUTOLOGOUT set to 30 minutes and it looks like the
AUTOLOGOUT process causes the ON.ABORT clause to execute.  Is there an
easy
way using a SYSTEM() or @variable to determine that this ON.ABORT is the
result of an AUTOLOGOUT?

Also, is there any way to find the program / line # / error message that
cause the abort when they encounter a runtime error.  I know Unix has
the
errlog in the uv directory but I'm not seeing any of that on our Windows
system.

Thanks,
Mike Roosa

************** IMPORTANT MESSAGE *****************************       
This e-mail message is intended only for the addressee(s) and contains 
information which may be
confidential. 
If you are not the intended recipient please advise the sender by return email, 
do not use or
disclose the contents, and delete the message and any attachments from your 
system. Unless
specifically indicated, this email does not constitute formal advice or 
commitment by the sender
or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. 
We can be contacted through our web site: commbank.com.au. 
If you no longer wish to receive commercial electronic messages from us, please 
reply to this
e-mail by typing Unsubscribe in the subject line. 
**************************************************************
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to