RE: [U2] [BB] Does UD need the equivalent of uv/errlog?

2007-09-17 Thread Bill Haskett
Charles:

This has been requested years ago.  I've also posted a list of basic (not BASIC)
enhancements to old the U2 "Better and Better" list.  I don't know if it's still
there, but I couldn't find it.  So, I'm revising it to post again.  :-)

I'm was very surprised this isn't a normal part of UD.  The enhancement is 
essential
in the current IT environment where access to U2 is via pipes, sockets, web, and
other means where noone is watching the results on a screen and BASIC is the 
ideal
language to use in this environment.

But, hey, that's just me...I have a tendency to make mistakes when developing
applications.  :-)

Bill

>-Original Message-
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf Of 
>Stevenson, Charles
>Sent: Monday, September 17, 2007 8:23 AM
>To: u2-users@listserver.u2ug.org
>Subject: [U2] [BB] Does UD need the equivalent of uv/errlog?
>
>Is there a UniData enhancement request buried in the discussion below?
>
>UniVerse has a handy file called $UVHOME/errlog that logs runtime error
>messages (and a few things that aren't really errors) that normally
>appear on the screen or &PH& file of the user generating the error.  It
>shows what, who, when, & where the error occurred.
>
>Does Unidata need the same?
>
>Chuck S
> 
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Timothy Snyder
>Sent: Wednesday, September 12, 2007 1:45 AM
>To: u2-users@listserver.u2ug.org
>Subject: RE: [U2] UV basic assignment error ?
>
>> As far as I can tell, UD doesn't have a BASIC runtime-error log. 
>
>Oops - haphazard reading on my part.  You're correct, of course.  I
>actually get a lot of good information from the UniData logs that do
>exist, but then those are things that pertain more to what I normally
>do.
>
>And, as you pointed out, you shouldn't be making programming errors,
>anyway.  ;-)
>
>OK - administering self-imposed cyber-spanking...
>
>
>Tim Snyder
>Consulting I/T Specialist
>U2 Lab Services
>Information Management, IBM Software Group
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [BB] Does UD need the equivalent of uv/errlog?

2007-09-17 Thread Wally Terhune
Chuck Stevenson wrote:
Is there a UniData enhancement request buried in the discussion below?

UniVerse has a handy file called $UVHOME/errlog that logs runtime error
messages (and a few things that aren't really errors) that normally
appear on the screen or &PH& file of the user generating the error.  It
shows what, who, when, & where the error occurred.

Does Unidata need the same?


The enhancement requests exists in our system - e8201.
At this point - there is only one customer associated with this request.
If there is interest in this - the best way to get visibility for the
request is to open a support case and ask to be added to that ecase.

Regards,
   
 Wally Terhune 
 SWG Client Support -  
 Information Management Software   
 U2 Support Architect b IBM U2 
 Client Support Team   
 4700 S. Syracuse St., Denver, 
 CO  80237 
 Tel: (303) 773-7969   T/L 
 656-7969  
 Mobile: (303) 807-6222
 [EMAIL PROTECTED] 
   
   
   
   
 Register today for the premier
 U2 technical event!   

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
12983515.jpg]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
12955357.jpg]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [BB] Does UD need the equivalent of uv/errlog?

2007-09-17 Thread Buss, Troy (Logitek Systems)
Yes, I think the errlog is a great feature on universe.  I utilize a
background phantom process to monitor the file and send an email of
recent errors every few minutes.   It is a great way to see what
programs have issues especially if you make a coding mistake and a user
receives a 'variable unassigned' error for example.  Not that that ever
happens

-Troy

[snip]
If there is interest in this - the best way to get visibility for the
request is to open a support case and ask to be added to that ecase.
Regards,
 

Wally Terhune
 [snip]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [BB] Does UD need the equivalent of uv/errlog?

2007-09-17 Thread Louie Bergsagel
Where is this $UVHOME file?  I can't find it in my UV directory.

-- Louie

$ ls -l *HOME*
ls: 0653-341 The file *HOME* does not exist.
$ ls -l *UV*
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV.ACCESS
-rw-r--r--   1 root staff  4096 May 11 2005  D_UV.ACCOUNT
-rw-r--r--   1 root staff  4096 May 11 2005  D_UV.FLAVOR
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV.TRANS
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_LOGS
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_UDRPUB
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_UDRSUB
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_UDRSYS
-rw-rw-r--   1 root system 4096 Jan 11 2007  UV.ACCESS
-rw-r--r--   1 root system 4096 Jul 05 12:31 UV.ACCOUNT
-rw-r--r--   1 root system 4096 Jan 11 2007  UV.FLAVOR
-rw-rw-r--   1 root system 4096 Jan 11 2007  UV.TRANS
-rw-rw-r--   1 root system 4096 Jan 11 2007  UV_LOGS
-rw-rw-r--   1 root system   208896 Jan 11 2007  UV_UDRPUB
-rw-rw-r--   1 root system   208896 Jan 11 2007  UV_UDRSUB
-rw-rw-r--   1 root system 4096 Jan 11 2007  UV_UDRSYS

On 9/17/07, Stevenson, Charles <[EMAIL PROTECTED]> wrote:
>
> Is there a UniData enhancement request buried in the discussion below?
>
> UniVerse has a handy file called $UVHOME/errlog that logs runtime error
> messages
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [BB] Does UD need the equivalent of uv/errlog?

2007-09-17 Thread Jerry Banker
LOL, it is the uv directory.

-Original Message-
From: Louie Bergsagel [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 17, 2007 5:00 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [BB] Does UD need the equivalent of uv/errlog?

Where is this $UVHOME file?  I can't find it in my UV directory.

-- Louie

$ ls -l *HOME*
ls: 0653-341 The file *HOME* does not exist.
$ ls -l *UV*
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV.ACCESS
-rw-r--r--   1 root staff  4096 May 11 2005  D_UV.ACCOUNT
-rw-r--r--   1 root staff  4096 May 11 2005  D_UV.FLAVOR
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV.TRANS
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_LOGS
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_UDRPUB
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_UDRSUB
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_UDRSYS
-rw-rw-r--   1 root system 4096 Jan 11 2007  UV.ACCESS
-rw-r--r--   1 root system 4096 Jul 05 12:31 UV.ACCOUNT
-rw-r--r--   1 root system 4096 Jan 11 2007  UV.FLAVOR
-rw-rw-r--   1 root system 4096 Jan 11 2007  UV.TRANS
-rw-rw-r--   1 root system 4096 Jan 11 2007  UV_LOGS
-rw-rw-r--   1 root system   208896 Jan 11 2007  UV_UDRPUB
-rw-rw-r--   1 root system   208896 Jan 11 2007  UV_UDRSUB
-rw-rw-r--   1 root system 4096 Jan 11 2007  UV_UDRSYS

On 9/17/07, Stevenson, Charles <[EMAIL PROTECTED]> wrote:
>
> Is there a UniData enhancement request buried in the discussion below?
>
> UniVerse has a handy file called $UVHOME/errlog that logs runtime
error
> messages
---
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] [BB] Does UD need the equivalent of uv/errlog?

2007-09-17 Thread Louie Bergsagel
LOL, I'm IN the uv directory.  LOGTO UV is a valid UniVerse command. It
isn't my fault that Unix is UPCASE challenged.

On 9/17/07, Jerry Banker <[EMAIL PROTECTED]> wrote:
>
> LOL, it is the uv directory.
>
> -Original Message-
> From: Louie Bergsagel [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 17, 2007 5:00 PM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] [BB] Does UD need the equivalent of uv/errlog?
>
> Where is this $UVHOME file?  I can't find it in my UV directory.
>
> -- Louie
>
> $ ls -l *HOME*
> ls: 0653-341 The file *HOME* does not exist.
> $ ls -l *UV*
> -rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV.ACCESS
> -rw-r--r--   1 root staff  4096 May 11 2005  D_UV.ACCOUNT
> -rw-r--r--   1 root staff  4096 May 11 2005  D_UV.FLAVOR
> -rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV.TRANS
> -rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_LOGS
> -rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_UDRPUB
> -rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_UDRSUB
> -rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_UDRSYS
> -rw-rw-r--   1 root system 4096 Jan 11 2007  UV.ACCESS
> -rw-r--r--   1 root system 4096 Jul 05 12:31 UV.ACCOUNT
> -rw-r--r--   1 root system 4096 Jan 11 2007  UV.FLAVOR
> -rw-rw-r--   1 root system 4096 Jan 11 2007  UV.TRANS
> -rw-rw-r--   1 root system 4096 Jan 11 2007  UV_LOGS
> -rw-rw-r--   1 root system   208896 Jan 11 2007  UV_UDRPUB
> -rw-rw-r--   1 root system   208896 Jan 11 2007  UV_UDRSUB
> -rw-rw-r--   1 root system 4096 Jan 11 2007  UV_UDRSYS
>
> On 9/17/07, Stevenson, Charles <[EMAIL PROTECTED]> wrote:
> >
> > Is there a UniData enhancement request buried in the discussion below?
> >
> > UniVerse has a handy file called $UVHOME/errlog that logs runtime
> error
> > messages
> ---
> 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] [BB] Does UD need the equivalent of uv/errlog?

2007-09-17 Thread Bernard Lubin
It is stored in the root directory (/) and is called .uvhome

To find the contents of the uvhome file, just type in cat /.uvhome

Rgds

Bernard Lubin
Development Department
Reynolds and Reynolds

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Louie Bergsagel
Sent: Tuesday, 18 September 2007 8:00 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [BB] Does UD need the equivalent of uv/errlog?

Where is this $UVHOME file?  I can't find it in my UV directory.

-- Louie

$ ls -l *HOME*
ls: 0653-341 The file *HOME* does not exist.
$ ls -l *UV*
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV.ACCESS
-rw-r--r--   1 root staff  4096 May 11 2005  D_UV.ACCOUNT
-rw-r--r--   1 root staff  4096 May 11 2005  D_UV.FLAVOR
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV.TRANS
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_LOGS
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_UDRPUB
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_UDRSUB
-rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_UDRSYS
-rw-rw-r--   1 root system 4096 Jan 11 2007  UV.ACCESS
-rw-r--r--   1 root system 4096 Jul 05 12:31 UV.ACCOUNT
-rw-r--r--   1 root system 4096 Jan 11 2007  UV.FLAVOR
-rw-rw-r--   1 root system 4096 Jan 11 2007  UV.TRANS
-rw-rw-r--   1 root system 4096 Jan 11 2007  UV_LOGS
-rw-rw-r--   1 root system   208896 Jan 11 2007  UV_UDRPUB
-rw-rw-r--   1 root system   208896 Jan 11 2007  UV_UDRSUB
-rw-rw-r--   1 root system 4096 Jan 11 2007  UV_UDRSYS

On 9/17/07, Stevenson, Charles <[EMAIL PROTECTED]> wrote:
>
> Is there a UniData enhancement request buried in the discussion below?
>
> UniVerse has a handy file called $UVHOME/errlog that logs runtime error
> messages
---
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] [BB] Does UD need the equivalent of uv/errlog?

2007-09-17 Thread Louie Bergsagel
Thanks.  I also had to log in as root.

Not much there:

# ls -l .uvhome
-r--r--r--   1 root system7 Jan 11 2007  .uvhome

# cat /.uvhome
/u2/uv

On 9/17/07, Bernard Lubin <[EMAIL PROTECTED]> wrote:
>
> It is stored in the root directory (/) and is called .uvhome
>
> To find the contents of the uvhome file, just type in cat /.uvhome
>
> Rgds
>
> Bernard Lubin
> Development Department
> Reynolds and Reynolds
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Louie Bergsagel
> Sent: Tuesday, 18 September 2007 8:00 AM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] [BB] Does UD need the equivalent of uv/errlog?
>
> Where is this $UVHOME file?  I can't find it in my UV directory.
>
> -- Louie
>
> $ ls -l *HOME*
> ls: 0653-341 The file *HOME* does not exist.
> $ ls -l *UV*
> -rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV.ACCESS
> -rw-r--r--   1 root staff  4096 May 11 2005  D_UV.ACCOUNT
> -rw-r--r--   1 root staff  4096 May 11 2005  D_UV.FLAVOR
> -rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV.TRANS
> -rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_LOGS
> -rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_UDRPUB
> -rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_UDRSUB
> -rw-rw-r--   1 root system 4096 Jan 11 2007  D_UV_UDRSYS
> -rw-rw-r--   1 root system 4096 Jan 11 2007  UV.ACCESS
> -rw-r--r--   1 root system 4096 Jul 05 12:31 UV.ACCOUNT
> -rw-r--r--   1 root system 4096 Jan 11 2007  UV.FLAVOR
> -rw-rw-r--   1 root system 4096 Jan 11 2007  UV.TRANS
> -rw-rw-r--   1 root system 4096 Jan 11 2007  UV_LOGS
> -rw-rw-r--   1 root system   208896 Jan 11 2007  UV_UDRPUB
> -rw-rw-r--   1 root system   208896 Jan 11 2007  UV_UDRSUB
> -rw-rw-r--   1 root system 4096 Jan 11 2007  UV_UDRSYS
>
> On 9/17/07, Stevenson, Charles <[EMAIL PROTECTED]> wrote:
> >
> > Is there a UniData enhancement request buried in the discussion below?
> >
> > UniVerse has a handy file called $UVHOME/errlog that logs runtime error
> > messages
> ---
> 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] [BB] Does UD need the equivalent of uv/errlog?

2007-09-18 Thread TVankirk
This sounds great! I just added our company to the enhancement
request.
Thanks.

Tom VanKirk
Unix/Unidata Systems Administrator
Kraftmaid Cabinetry




Wally Terhune <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
09/17/2007 04:10 PM
Please respond to
u2-users@listserver.u2ug.org


To
u2-users@listserver.u2ug.org
cc

Subject
Re: [U2] [BB] Does UD need the equivalent of uv/errlog?






Chuck Stevenson wrote:
Is there a UniData enhancement request buried in the discussion below?

UniVerse has a handy file called $UVHOME/errlog that logs runtime error
messages (and a few things that aren't really errors) that normally
appear on the screen or &PH& file of the user generating the error.  It
shows what, who, when, & where the error occurred.

Does Unidata need the same?


The enhancement requests exists in our system - e8201.
At this point - there is only one customer associated with this request.
If there is interest in this - the best way to get visibility for the
request is to open a support case and ask to be added to that ecase.

Regards,

 Wally Terhune
 SWG Client Support -
 Information Management Software
 U2 Support Architect b IBM U2
 Client Support Team
 4700 S. Syracuse St., Denver,
 CO  80237
 Tel: (303) 773-7969   T/L
 656-7969
 Mobile: (303) 807-6222
 [EMAIL PROTECTED]




 Register today for the premier
 U2 technical event!

[demime 1.01d removed an attachment of type image/jpeg which had a name of
12983515.jpg]

[demime 1.01d removed an attachment of type image/jpeg which had a name of
12955357.jpg]
---
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] [BB] Does UD need the equivalent of uv/errlog?

2007-09-18 Thread karlp

>
> While I'm not a UD user, I should think that it would benefit from the
> errlog function. But everyone would benefit by making it smarter...  I
> would like to be able to configure it similar to syslog. I'd like 'low
> grade' errors either logged elsewhere or not at all...  Usually half of
> my error log is generated from menu errors:  " Invalid command.  Type
> "?" for help."   Usually someone has put a book on their Enter
> key
>
> Right now the only configurable option is the number of lines before the
> log rolls over. I'd like to have the option of pushing the error
> messages to the syslog service, where I could then do with them what I
> like.

I've included a program below that runs every day on my system where I
strip out anything in the errlog file I don't want to see. I hope it may
be of use to you. The 2 included files have to do with printer formatting
and other common variables that should be self explanatory. They might not
even be used as they are included in just about every program I write. Oh,
and sorry about the wrapped lines.

Karl

--- start of code:


  1   program UVERRLOG
  2 ! Karl Pearson
  3 ! 8.21.03
  4 ! updated 7.23.07 to solve printer issues with 'new' HP stuff.
  5
  6 $include INC.KLP
  7 $include HP.LASER
  8
  9   EMP = '' ; POS = EMP ; EXCNT = 0
 10   open EMP,'SYS.MESSAGE' to SYS.MSG else stopm 'No SYS.MESSAGE
File'
 11   HEADER1 = BOLD:oconv(DATE(),'d2'):space(22):"UV Error Log
(/u1/uv/errlog)":BOLDOFF
 12   HEADER2 = space(32):CHR12:"Special For Karl":CHR17
 13 !
 14   execute 'canon'
 15   printer on
 16   assign 0 to system(1016)
 17   print HEADER1
 18   print HEADER2
 19   open EMP,'UV.UFD' to UVDIR else stopm 'ERROR...'
 20   read UVERRLOG from UVDIR,'errlog' then
 21  UVERRLOG = trim(UVERRLOG)
 22  UVERRLOG = change(UVERRLOG,char(0),' ',0)
 23  UVERRLOG = change(UVERRLOG,char(127),'[',0)
 24  UVERRLOG = change(UVERRLOG,char(12),'ff',0)
 25  TOTAL = dcount(UVERRLOG,@am)
 26  for X = 1 to TOTAL
 27 if X = 0 then go 101
 28 if X = 1 then print
 29 findstr '[' in UVERRLOG setting POS then
 30if POS then
 31   POS = EMP
 32   ERRNUM = field(UVERRLOG,'[',2)
 33   ERRNUM = field(ERRNUM,']',1)
 34   read ERRREC from SYS.MSG,ERRNUM then
 35  ERRREC = change(ERRREC,@am,' ',0)
 36  ERRREC = trim(ERRREC)
 37  UVERRLOG =
change(UVERRLOG,'Message[':ERRNUM:
']','(':ERRREC:')',0)
 38  UVERRLOG = change(UVERRLOG,'.)',')',0)
 39   end
 40end
 41 end
 42 !
 43 go EXCEPTIONS
 44 RMTHEM:
 45 findstr STR in UVERRLOG setting POS then
 46EXCNT += 1
 47 end
 48 return
 49 EXCEPTIONS:
 50 STR = 'No record found in the VOC file' ; gosub RMTHEM
 51 STR = 'Unmatched quotation marks.' ; gosub RMTHEM
 52 STR = 'DELETEd file definition record' ; gosub RMTHEM
 53 STR = 'No such file or directory' ; gosub RMTHEM
 54 STR = 'Automatic Logout' ; gosub RMTHEM
 55 STR = 'No active SELECT list' ; gosub RMTHEM
 56 STR = 'RetrieVe: syntax error' ; gosub RMTHEM
 57 STR = 'terminated.' ; gosub RMTHEM
 58 STR = 'is not in your VOC.' ; gosub RMTHEM
 59 STR = 'Illegal verb' ; gosub RMTHEM
 60 STR = 'logging inactivated in uvconfig' ; gosub RMTHEM
 61 !
 62 if POS then
 63POS = EMP
 64 end else
 65POS = EMP
 66print X:'R#3'': ':UVERRLOG
 67 end
 68  next X
 69 101: print X:' Total Lines'
 70  print EXCNT:' Exceptions not included in this report.':
 71  print ' To see them all, manually edit UV.UFD errlog.'
 72   end
 73   assign 1 to system(1016)
 74   printer off
 75   printer close
 76   execute 'RUN BP SET.DIMENSIONS'
 77end

-- 
Karl Pearson
Director of I.T.
ATS Industrial Supply, Inc.
[EMAIL PROTECTED]
http://www.atsindustrial.com
800-789-9300 x29
Local: 801-978-4429
Fax: 801-972-3888

"To mess up your Linux PC, you have to really work at it;
 to mess up a microsoft PC you just have to work on it."
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [BB] Does UD need the equivalent of uv/errlog?

2007-09-18 Thread Wally Terhune
Note:
For those of you interested in capturing run-time errors from UO subroutine
calls, we have had this for a while (7.1.4 and greater).
>From the readme:

Issue 8496 - Problem Description
Beginning at this release, if the server-side debug log is
enabled and the value of udcs is 10 in the serverdebug file,
you can capture the output of a subroutine called from
UniObjects.NET or UniObjects for Java into the debug log file.
   
 Wally Terhune 
 SWG Client Support - Information  
 Management Software   
 U2 Support Architect b IBM U2 
 Client Support Team   
 4700 S. Syracuse St., Denver, CO  
 80237 
 Tel: (303) 773-7969   T/L 
 656-7969  
 Mobile: (303) 807-6222
 [EMAIL PROTECTED] 
   
   
   
   
 Register today for the premier
 U2 technical event!   

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
11314679.jpg]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
11894501.jpg]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [BB] Does UD need the equivalent of uv/errlog?

2007-09-18 Thread John Hester
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Stevenson, Charles
> Sent: Monday, September 17, 2007 8:23 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] [BB] Does UD need the equivalent of uv/errlog?
> 
> Is there a UniData enhancement request buried in the discussion below?
> 
> UniVerse has a handy file called $UVHOME/errlog that logs 
> runtime error
> messages (and a few things that aren't really errors) that normally
> appear on the screen or &PH& file of the user generating the 
> error.  It
> shows what, who, when, & where the error occurred.

Oddly, my UV install doesn't have an errlog file:

[EMAIL PROTECTED] root]# cd `cat /.uvhome`
[EMAIL PROTECTED] uv]# ls errlog
ls: errlog: No such file or directory

Is there a service that needs to be started in order to populate the
log?

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


RE: [U2] [BB] Does UD need the equivalent of uv/errlog? {Unclassified}

2007-09-18 Thread HENDERSON MIKE, MR
John,

No, but you have to *create* the file before UV will use it (yes, I know
it's nuts, but "it's always been that way")
Just "touch errlog" in the right directory. With the right permissions,
of course


Regards


Mike


-Original Message-
From: [EMAIL PROTECTED]  On Behalf Of John Hester
Sent: Wednesday, 19 September 2007 11:00 a.m.
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [BB] Does UD need the equivalent of uv/errlog?

Oddly, my UV install doesn't have an errlog file:

[EMAIL PROTECTED] root]# cd `cat /.uvhome` [EMAIL PROTECTED] uv]# ls errlog
ls: errlog: No such file or directory

Is there a service that needs to be started in order to populate the
log?

-John
---
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] [BB] Does UD need the equivalent of uv/errlog? {Unclassified}

2007-09-21 Thread John Hester
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> HENDERSON MIKE, MR
> Sent: Tuesday, September 18, 2007 5:23 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] [BB] Does UD need the equivalent of 
> uv/errlog? {Unclassified}
> 
> John,
> 
> No, but you have to *create* the file before UV will use it 
> (yes, I know
> it's nuts, but "it's always been that way")
> Just "touch errlog" in the right directory. With the right 
> permissions,
> of course

Mike, I just saw your reply and created the file.  Thanks for the tip.
I don't have any data in it yet, but I guess that's a good sign.

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


RE: [U2] [BB] Does UD need the equivalent of uv/errlog? [not-secure]

2007-09-17 Thread Hennessey, Mark F.


Is there a UniData enhancement request buried in the discussion below?

UniVerse has a handy file called $UVHOME/errlog that logs runtime error
messages (and a few things that aren't really errors) that normally
appear on the screen or &PH& file of the user generating the error.  It
shows what, who, when, & where the error occurred.

Does Unidata need the same?

Chuck S



While I'm not a UD user, I should think that it would benefit from the
errlog function. But everyone would benefit by making it smarter...  I
would like to be able to configure it similar to syslog. I'd like 'low
grade' errors either logged elsewhere or not at all...  Usually half of
my error log is generated from menu errors:  " Invalid command.  Type
"?" for help."   Usually someone has put a book on their Enter
key

Right now the only configurable option is the number of lines before the
log rolls over. I'd like to have the option of pushing the error
messages to the syslog service, where I could then do with them what I
like. 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/