Re: [U2] AUTOLOGOUT and ON.ABORT

2009-03-02 Thread Jacques G.
You should read your uvconfig file (and Manual) to see if you have a flag for 
it in the Windows version of Universe.  On the Unix version, the only thing I 
need to do in order to turn on the loggin is to create the errlog file.

Your admin menu may have an option for it somewhere.



- Original Message 
From: Mike Roosa 
To: u2-users@listserver.u2ug.org
Sent: Monday, March 2, 2009 9:35:11 AM
Subject: Re: [U2] AUTOLOGOUT and ON.ABORT

I created the errlog file and it does appear to be logging some messages.
Do I have to do anything in uniadmin as I see a couple of error messages
when universe first starts up.
Sun Mar 01 01:00:11  -4701 NT AUTHORITY\system uniVerse Log Daemon started
Sun Mar 01 01:00:11  -4701 NT AUTHORITY\system Unable to read LOGS.DIR entry
from D_UV_LOGS.
Sun Mar 01 01:00:11  -4701 NT AUTHORITY\system Can't start logging, logging
inactivated in uvconfig


On Fri, Feb 27, 2009 at 5:21 PM, Jacques G.  wrote:

> On unix it's an empty file (size zero) we create:
> EI:
>
> touch errlog
>
> On a windows the equivalent would probably be (from dos prompt when in the
> uv account):
> copy con errlog
> ^Z
>
>  1 file(s) copied.
>
> (After typing CTRL-Z you press[RETURN])  I haven't used the errlog in
> Universe for Windows though.
>
>
>
> - Original Message 
> From: Mike Roosa 
> To: u2-users@listserver.u2ug.org
> Sent: Friday, February 27, 2009 3:55:22 PM
> Subject: Re: [U2] AUTOLOGOUT and ON.ABORT
>
> Ok, so I just create a type 18 file called ERRLOG in the UV account and
> restart universe?
>
> On Fri, Feb 27, 2009 at 11:59 AM, Martin Phillips <
> martinphill...@ladybridge.com> wrote:
>
> > Hi Mike,
> >
> >  I was under the impression that the errlog only existed on
> >> unix systems. Maybe I'm wrong on this but I can't find it
> >> anywhere on our system.
> >>
> >
> > The errlog file is on Windows too but, just as on Unix, you need to
> create
> > an empty errlog file in the UV account directory to enable the system. UV
> > looks for this on entry and enables logging.
> >
> >
> > Martin Phillips
> > Ladybridge Systems Ltd
> > 17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
> > +44-(0)1604-709200 ---
> >
> > 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/
> ---
> 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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] AUTOLOGOUT and ON.ABORT

2009-03-02 Thread Eric Armstrong
We use Windows and its kept at \\Mars\UVDB\TOOLS\ERRLOG.BACKUP

Eric Armstrong
Lobel Financial
IT Dept


-Original Message-
From: Mike Roosa [mailto:mike.ro...@gmail.com]
Sent: Friday, February 27, 2009 7:32 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] AUTOLOGOUT and ON.ABORT


I was under the impression that the errlog only existed on unix systems.
 Maybe I'm wrong on this but I can't find it anywhere on our system.

On Fri, Feb 27, 2009 at 1:17 AM, Jacques G.  wrote:

> If you turn on the errlog file in /u1/uv you may get a message in there
for
> an AUTOLOGOUT.  I'm pretty sure I've seen such messages in the past.  You
> will have the user name, the PID and some text describing the error.
>
> The errlog file only keeps the last 1001 error messages so you might want
> to have a cron job back them up with a date time stamp periodically during
> the day.
>
>
>
> - Original Message 
> > 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?
> ---
> 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/

LOBEL FINANCIAL PRIVACY NOTICE: 
This communication may contain confidential company information that is 
protected by federal law. Federal regulations prohibit the disclosure (or 
re-disclosure) of confidential information without the written consent of the 
person(s) to whom it pertains. Additionally, the views or opinions presented in 
this email are solely those of the author and do not necessarily represent 
those of the company.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] AUTOLOGOUT and ON.ABORT

2009-03-02 Thread Mike Roosa
I created the errlog file and it does appear to be logging some messages.
 Do I have to do anything in uniadmin as I see a couple of error messages
when universe first starts up.
Sun Mar 01 01:00:11  -4701 NT AUTHORITY\system uniVerse Log Daemon started
Sun Mar 01 01:00:11  -4701 NT AUTHORITY\system Unable to read LOGS.DIR entry
from D_UV_LOGS.
Sun Mar 01 01:00:11  -4701 NT AUTHORITY\system Can't start logging, logging
inactivated in uvconfig


On Fri, Feb 27, 2009 at 5:21 PM, Jacques G.  wrote:

> On unix it's an empty file (size zero) we create:
> EI:
>
> touch errlog
>
> On a windows the equivalent would probably be (from dos prompt when in the
> uv account):
> copy con errlog
> ^Z
>
>  1 file(s) copied.
>
> (After typing CTRL-Z you press[RETURN])  I haven't used the errlog in
> Universe for Windows though.
>
>
>
> - Original Message 
> From: Mike Roosa 
> To: u2-users@listserver.u2ug.org
> Sent: Friday, February 27, 2009 3:55:22 PM
> Subject: Re: [U2] AUTOLOGOUT and ON.ABORT
>
> Ok, so I just create a type 18 file called ERRLOG in the UV account and
> restart universe?
>
> On Fri, Feb 27, 2009 at 11:59 AM, Martin Phillips <
> martinphill...@ladybridge.com> wrote:
>
> > Hi Mike,
> >
> >  I was under the impression that the errlog only existed on
> >> unix systems. Maybe I'm wrong on this but I can't find it
> >> anywhere on our system.
> >>
> >
> > The errlog file is on Windows too but, just as on Unix, you need to
> create
> > an empty errlog file in the UV account directory to enable the system. UV
> > looks for this on entry and enables logging.
> >
> >
> > Martin Phillips
> > Ladybridge Systems Ltd
> > 17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
> > +44-(0)1604-709200 ---
> >
> > 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/
> ---
> 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] AUTOLOGOUT and ON.ABORT

2009-02-27 Thread Jacques G.
On unix it's an empty file (size zero) we create:
EI:

touch errlog

On a windows the equivalent would probably be (from dos prompt when in the uv 
account):
copy con errlog
^Z

  1 file(s) copied.

(After typing CTRL-Z you press[RETURN])  I haven't used the errlog in Universe 
for Windows though.



- Original Message 
From: Mike Roosa 
To: u2-users@listserver.u2ug.org
Sent: Friday, February 27, 2009 3:55:22 PM
Subject: Re: [U2] AUTOLOGOUT and ON.ABORT

Ok, so I just create a type 18 file called ERRLOG in the UV account and
restart universe?

On Fri, Feb 27, 2009 at 11:59 AM, Martin Phillips <
martinphill...@ladybridge.com> wrote:

> Hi Mike,
>
>  I was under the impression that the errlog only existed on
>> unix systems. Maybe I'm wrong on this but I can't find it
>> anywhere on our system.
>>
>
> The errlog file is on Windows too but, just as on Unix, you need to create
> an empty errlog file in the UV account directory to enable the system. UV
> looks for this on entry and enables logging.
>
>
> Martin Phillips
> Ladybridge Systems Ltd
> 17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
> +44-(0)1604-709200 ---
>
> 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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] AUTOLOGOUT and ON.ABORT

2009-02-27 Thread Perry Taylor
#touch $(cat /.uvhome)/errlog


- Original Message -
From: owner-u2-us...@listserver.u2ug.org 
To: u2-users@listserver.u2ug.org 
Sent: Fri Feb 27 15:55:22 2009
Subject: Re: [U2] AUTOLOGOUT and ON.ABORT

Ok, so I just create a type 18 file called ERRLOG in the UV account and
restart universe?

On Fri, Feb 27, 2009 at 11:59 AM, Martin Phillips <
martinphill...@ladybridge.com> wrote:

> Hi Mike,
>
>  I was under the impression that the errlog only existed on
>> unix systems. Maybe I'm wrong on this but I can't find it
>> anywhere on our system.
>>
>
> The errlog file is on Windows too but, just as on Unix, you need to create
> an empty errlog file in the UV account directory to enable the system. UV
> looks for this on entry and enables logging.
>
>
> Martin Phillips
> Ladybridge Systems Ltd
> 17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
> +44-(0)1604-709200 ---
>
> 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/

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/


Re: [U2] AUTOLOGOUT and ON.ABORT

2009-02-27 Thread Mike Roosa
Ok, so I just create a type 18 file called ERRLOG in the UV account and
restart universe?

On Fri, Feb 27, 2009 at 11:59 AM, Martin Phillips <
martinphill...@ladybridge.com> wrote:

> Hi Mike,
>
>  I was under the impression that the errlog only existed on
>> unix systems. Maybe I'm wrong on this but I can't find it
>> anywhere on our system.
>>
>
> The errlog file is on Windows too but, just as on Unix, you need to create
> an empty errlog file in the UV account directory to enable the system. UV
> looks for this on entry and enables logging.
>
>
> Martin Phillips
> Ladybridge Systems Ltd
> 17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
> +44-(0)1604-709200 ---
>
> 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] AUTOLOGOUT and ON.ABORT

2009-02-27 Thread Martin Phillips

Hi Mike,


I was under the impression that the errlog only existed on
unix systems. Maybe I'm wrong on this but I can't find it
anywhere on our system.


The errlog file is on Windows too but, just as on Unix, you need to create 
an empty errlog file in the UV account directory to enable the system. UV 
looks for this on entry and enables logging.



Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
+44-(0)1604-709200 
---

u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] AUTOLOGOUT and ON.ABORT

2009-02-27 Thread Mike Roosa
I was under the impression that the errlog only existed on unix systems.
 Maybe I'm wrong on this but I can't find it anywhere on our system.

On Fri, Feb 27, 2009 at 1:17 AM, Jacques G.  wrote:

> If you turn on the errlog file in /u1/uv you may get a message in there for
> an AUTOLOGOUT.  I'm pretty sure I've seen such messages in the past.  You
> will have the user name, the PID and some text describing the error.
>
> The errlog file only keeps the last 1001 error messages so you might want
> to have a cron job back them up with a date time stamp periodically during
> the day.
>
>
>
> - Original Message 
> > 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?
> ---
> 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] AUTOLOGOUT and ON.ABORT

2009-02-27 Thread Perry Taylor
Just a side note on the errlog file... You can increase the number of
messages by increasing the MAXERRLOGENT parameter in uvconfig.

Perry 

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Jacques G.
Sent: Thursday, February 26, 2009 11:17 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] AUTOLOGOUT and ON.ABORT

If you turn on the errlog file in /u1/uv you may get a message in there
for an AUTOLOGOUT.  I'm pretty sure I've seen such messages in the past.
You will have the user name, the PID and some text describing the error.

The errlog file only keeps the last 1001 error messages so you might
want to have a cron job back them up with a date time stamp periodically
during the day.



- Original Message 
> 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?
---
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/


Re: [U2] AUTOLOGOUT and ON.ABORT

2009-02-26 Thread Jacques G.
If you turn on the errlog file in /u1/uv you may get a message in there for an 
AUTOLOGOUT.  I'm pretty sure I've seen such messages in the past.  You will 
have the user name, the PID and some text describing the error.

The errlog file only keeps the last 1001 error messages so you might want to 
have a cron job back them up with a date time stamp periodically during the day.



- Original Message 
> 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?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] AUTOLOGOUT and ON.ABORT

2009-02-26 Thread Hona, David
I would've thought you would have the BREAK-key disabled for your users.
Do you have Break, Interrupt & Suspend keys disabled? [See BREAK
statement in the UV BASIC manual]...not that'll make a difference...just
curious why you let them 'break' out.


-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:59 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] AUTOLOGOUT and ON.ABORT

Unfortunately the @ABORT.CODE is 3 which is the same for AUTOLOGOUT as a
user breaking out of a program.

On Thu, Feb 26, 2009 at 7:02 PM, Hona, David 
wrote:

> 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/


Re: [U2] AUTOLOGOUT and ON.ABORT

2009-02-26 Thread Mike Roosa
Unfortunately the @ABORT.CODE is 3 which is the same for AUTOLOGOUT as a
user breaking out of a program.

On Thu, Feb 26, 2009 at 7:02 PM, Hona, David  wrote:

> 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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] AUTOLOGOUT and ON.ABORT

2009-02-26 Thread Hona, David
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/


RE: [U2] AUTOLOGOUT and ON.ABORT

2009-02-26 Thread John Hester
> -Original Message-
> From: owner-u2-us...@listserver.u2ug.org 
> [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Mike Roosa
> Sent: Thursday, February 26, 2009 6:38 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] AUTOLOGOUT and ON.ABORT

[snip]

> 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.

I'll answer your second question first, because it pertains to the first
question in our case.  We use COMO to capture the error messages from
aborts.  All of our programs are executed by PROCs that turn COMO on
prior to executing the program.  ON.ABORT saves the user's current COMO
to a new, unique ID and emails the ID to a list of admins.

To answer your first question, we use the following test to determine if
the abort was due to AUTOLOGOUT:

IF NOT(INDEX(ITEM.COMO,'Automatic Logout',1)) THEN

We skip sending the email for autologouts.  I don't know if there's an
easier way to do it.

-John
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] AUTOLOGOUT and ON.ABORT

2009-02-26 Thread Mike Roosa
Unfortunately this is all I have in SYSTEM(9001).
1}BP.O/ON.ABORT}0x5e~


On Thu, Feb 26, 2009 at 11:04 AM, Kevin King  wrote:

> Can you glean anything from SYSTEM(9001)?
> ---
> 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] AUTOLOGOUT and ON.ABORT

2009-02-26 Thread Kevin King
Can you glean anything from SYSTEM(9001)?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/