Re: [U2] [UV] unirpc daemon, stopping and re-starting it from cron

2006-05-10 Thread Symeon Breen
As above, LANG=C (or similar) must be set for rpcd to work correctly. other
uv services work fine with LANG set to anything, rpc needs it tho ...


Rgds

On 10/05/06, Lembit Pirn <[EMAIL PROTECTED]> wrote:
>
> Is the LANG setting correct (C) ?
>
> Senn, Bruce wrote:
>
> >FWIW, you can't always be sure of the environment when running something
> >from cron. You might be missing something in the PATH variable or some
> >other environment variable.
> >
> >I guess a question is whether this has worked in the past or is
> >something new that you are trying to do?
> >
> >HTH.
> >
> >Bruce.
> >
> >
> >  Bruce J. SennPhone:  (518) 388-6664
> >  Senior System ManagerFAX:(518) 388-6458
> >  Union CollegeE-mail:  [EMAIL PROTECTED]
> >  Schenectady, NY 12308WWW:  http://www1.union.edu/~sennb
> >
> >
> >
> >
> >-Original Message-
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] On Behalf Of Jacques G.
> >Sent: Tuesday, May 09, 2006 4:02 PM
> >To: u2-users@listserver.u2ug.org
> >Subject: [U2] [UV] unirpc daemon, stopping and re-starting it from cron
> >
> >Hello,
> >
> >We have a cron job which does the following:
> >
> >1- Uses Universe's  uv.rc script to stop Universe and
> >unirpc daemon
> >2- Make a backup of the Production account into a
> >different filesystem on the production machine.
> >3- Restart Universe & unirps using the uv.rc script
> >4- Start the backup to tape of the copy of the
> >production environment.
> >
> >When Universe is re-started along with the unirpc
> >daemon within the cron job, Universe works but the
> >unirpc daemon doesn't work correctly.  It must be
> >stopped manually from the uv menu and re-started.  Has
> >anyone here encountered a similar problem ?
> >
> >I've tried to get support help from IBM but I get the
> >run-around.  I'm told that IBM won't debug my
> >companies script even though I've repeatedly told them
> >that the script we are using the uv.rc script that was
> >written by IBM.
> >
> >We are running Universe 10.1.8 on a HP.UX 11i machine.
> >
> >
> >
> >
> >
> >
> >
> >
> >__
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam protection around
> >http://mail.yahoo.com
> >---
> >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/
> >
> >
> >
>
> --
> Lembit Pirn
>
> 7+7 Software
> Mustamde tee 4
> Tallinn 10621
> Estonia
> phone: +372 6566 232
> GSM: +372 5028707
> e-mail: [EMAIL PROTECTED]
> ---
> 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] [UV] unirpc daemon, stopping and re-starting it from cron

2006-05-10 Thread Jacques G.
> I guess a question is whether this has worked in the
> past or is something new that you are trying to do?

This is something new.  This client is our first
client to make use of web services for our application.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] unirpc daemon, stopping and re-starting it from cron

2006-05-10 Thread Jacques G.
> As above, LANG=C (or similar) must be set for rpcd
> to work correctly. other
> uv services work fine with LANG set to anything, rpc
> needs it tho ...

How can I check for the setting of LANG both on my
current Universe setup and what its value is within
the cron job ?


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] HTTP ERROR

2006-05-10 Thread Nancy Fisher
Error in submitRequest: 2
The network subsystem has failed.

I'm getting the above error - maybe again - but I'm not recalling the "2".
Does this specify what the problem is in connecting to their server?

If I could give them any clues - it would help them in trying to troubleshoot
why I suddenly can't connect to their server.

UniVerse/Windows 2003

thanks,
Nancy Fisher
[EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] unirpc daemon, stopping and re-starting it from cron

2006-05-10 Thread Lembit Pirn
   You  probably  run some script in cron. So, in case You are using i.e.
   Born shell You may include something like:
   LANG=C
   export LANG
   in this script.
   Jacques G. wrote:

As above, LANG=C (or similar) must be set for rpcd
to work correctly. other
uv services work fine with LANG set to anything, rpc
needs it tho ...

How can I check for the setting of LANG both on my
current Universe setup and what its value is within
the cron job ?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

--
Lembit Pirn

7+7 Software
Mustamde tee 4
Tallinn 10621
Estonia
phone: +372 6566 232
GSM: +372 5028707
e-mail: [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] unirpc daemon, stopping and re-starting it from cron

2006-05-10 Thread Debster
Now...

Wouldn't the uv.rc default to the setting within UV.CONFIG?  

I don't recall having to reset it

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jacques G.
Sent: Wednesday, May 10, 2006 11:17 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [UV] unirpc daemon, stopping and re-starting it from
cron


> As above, LANG=C (or similar) must be set for rpcd
> to work correctly. other
> uv services work fine with LANG set to anything, rpc
> needs it tho ...

How can I check for the setting of LANG both on my
current Universe setup and what its value is within
the cron job ?


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
---
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] HTTP ERROR

2006-05-10 Thread Nancy Fisher

According to the manual it is basically timing out ?

Nancy Fisher
Peninsula Truck Lines, Inc
Auburn, Washington
253/929-2040
[EMAIL PROTECTED]
- Original Message - 
From: "Nancy Fisher" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, May 10, 2006 9:20 AM
Subject: [U2] HTTP ERROR



Error in submitRequest: 2
The network subsystem has failed.

I'm getting the above error - maybe again - but I'm not recalling the "2".
Does this specify what the problem is in connecting to their server?

If I could give them any clues - it would help them in trying to 
troubleshoot

why I suddenly can't connect to their server.

UniVerse/Windows 2003

thanks,
Nancy Fisher
[EMAIL PROTECTED]
---
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] HTTP ERROR

2006-05-10 Thread Brian Leach
Nancy

Could this be down to -

1. Firewall blocking?
2. Proxy configuration and authentication?
3. Does the version of HTTP match what they are expecting (e.g. 1.0 vs 1.1)?

What are you setting as your HTTP options?

It's a bit of a black box from what you describe.

Brian 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Nancy Fisher
> Sent: 10 May 2006 18:44
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] HTTP ERROR
> 
> According to the manual it is basically timing out ?
> 
> Nancy Fisher
> Peninsula Truck Lines, Inc
> Auburn, Washington
> 253/929-2040
> [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] UV Turn off account creation

2006-05-10 Thread Tom Dodds
Hi All:

 

We are running UniVerse 10.1.11 on an AIX 5.2.3 system.

Does anyone know how to turn off the ability to create on the fly UniVerse
Accounts?

I want to turn the message shown below or disallow the "y" answer.

 

# uv

This directory is not set up for UniVerse.

Would you like to set it up (Y/N)?N

 

Thanks for the help

 

Tom Dodds

  [EMAIL PROTECTED]

513-563-2800 Cincinnati Office

708-234-9608 Chicago Office

630-235-2975 Anywhere Cell
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UV Turn off account creation

2006-05-10 Thread Glenn Herbert
[EMAIL PROTECTED] wrote on 05/10/2006 03:55:01 PM:

> Hi All:
> 
> 
> 
> We are running UniVerse 10.1.11 on an AIX 5.2.3 system.
> 
> Does anyone know how to turn off the ability to create on the fly 
UniVerse
> Accounts?
> 
> I want to turn the message shown below or disallow the "y" answer.
> 

This functionality is embedded within the startup process of uniVerse, so 
there really isn't any switch or configuration you can set to disable 
that.  What I have seen done is to copy uv to uv_real (or a name you 
prefer), then write a new "uv" wrapper that looks to see if a "VOC" file 
exists in the current directory - if one exists, then exec uv_real, 
otherwise just exit out.  Make certain to set execute permissions for 
everyone on this wrapper. Note that this only solves the "uv" problem; if 
someone types "uvsh" (or for that matter "uv_real"!) they will experience 
the same issue, but I don't recall if universe will still work if you 
wrapper uvsh.  Been a while since I've worked with the environment.

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


RE: [U2] UV Turn off account creation

2006-05-10 Thread phil walker
 Glenn, I am surprised you don't know this but you can put an entry in
UV.FLAVOR. I cannot remember the exact details but if you search in the
documentation for UV.FLAVOR it will tell you.

Cheers,

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn Herbert
Sent: Thursday, 11 May 2006 9:01 a.m.
To: u2-users@listserver.u2ug.org
Cc: [EMAIL PROTECTED]; User group U2
Subject: Re: [U2] UV Turn off account creation

[EMAIL PROTECTED] wrote on 05/10/2006 03:55:01 PM:

> Hi All:
> 
> 
> 
> We are running UniVerse 10.1.11 on an AIX 5.2.3 system.
> 
> Does anyone know how to turn off the ability to create on the fly
UniVerse
> Accounts?
> 
> I want to turn the message shown below or disallow the "y" answer.
> 

This functionality is embedded within the startup process of uniVerse,
so there really isn't any switch or configuration you can set to disable
that.  What I have seen done is to copy uv to uv_real (or a name you
prefer), then write a new "uv" wrapper that looks to see if a "VOC" file
exists in the current directory - if one exists, then exec uv_real,
otherwise just exit out.  Make certain to set execute permissions for
everyone on this wrapper. Note that this only solves the "uv" problem;
if someone types "uvsh" (or for that matter "uv_real"!) they will
experience the same issue, but I don't recall if universe will still
work if you wrapper uvsh.  Been a while since I've worked with the
environment.

Good luck.
---
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] xls to text

2006-05-10 Thread Cooper, Rudy
Hello List,



Does anyone know where I can get FREE software that will convert Excel
files to text files in command line mode ?



Thx,



Rudy





Rudy Cooper



Technical Project Lead

Sage Publications

Information Technology Development
(805) 410-7724

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


Re: [U2] xls to text

2006-05-10 Thread karlp

> Hello List,
>
>
>
> Does anyone know where I can get FREE software that will convert Excel
> files to text files in command line mode ?

How about trying openoffice.org? I'm not sure if it has commandline
options, but it does everything else...




>
> Thx,
>
>
>
> Rudy
>
>
>
>
>
> Rudy Cooper
>
>
>
> Technical Project Lead
>
> Sage Publications
>
> Information Technology Development
> (805) 410-7724
>
> [EMAIL PROTECTED]
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
>


-- 
karl

 _/  _/  _/  _/_/_/      __o
_/ _/   _/  _/_/   _-\<._
   _/_/_/  _/_/_/ (_)/ (_)
  _/ _/   _/  _/   ..
 _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]

--
IT Director, ATS Industrial Supply, Inc.
http://www.atsindustrial.com
Toll-free: 800-789-9300 x29
Direct2Desk: 801-978-4429
Facsimile: 801-972-3888
--
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Unidata logging of BASIC Runtime errors

2006-05-10 Thread Bill Haskett
Dave:

UniData does not have logging for BASIC runtime errors (IBM got back with me
on this).  There aren't enough requests for this feature to include it in
UniData.  :-(

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


[U2] How do you find out about file operation within an index?

2006-05-10 Thread Jeff Marcos
Hello all,



I'm wondering if there is a way to identify, within a file index, what
type of file operation has occurred.



Example; we have a program in an index to do some checks. We would also
like to find out, what the user is doing; delete, write, read, readu,
etc,...



Using triggers is not an option, because it just way too slow... Unless
someone could tell how to speed up triggers.



Regards,

Jeff Marcos



This e-mail is for the use of the intended recipient(s) only. If you
have received in error, please notify the sender immediately and delete
it. If you are not the intended recipient, you must not use, disclose or
distribute this e-mail without the author's prior permission. Corporate
Express checks all outgoing mail and accepts no liability for any loss
or damage caused by software viruses.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] How do you find out about file operation within an index?

2006-05-10 Thread phil walker
Hi,

If you are talking UV, then triggers will be the quickest option, as
this is done at the database level. You just have to make your code as
efficient as possible. Unfortunately UV does not support a select or
read trigger. When I was in development for VMARK, I argued for it but
alas I was a lone voice.

Cheers,

Phil.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Marcos
Sent: Thursday, 11 May 2006 11:01 a.m.
To: u2-users@listserver.u2ug.org
Subject: [U2] How do you find out about file operation within an index?

Hello all,



I'm wondering if there is a way to identify, within a file index, what
type of file operation has occurred.



Example; we have a program in an index to do some checks. We would also
like to find out, what the user is doing; delete, write, read, readu,
etc,...



Using triggers is not an option, because it just way too slow... Unless
someone could tell how to speed up triggers.



Regards,

Jeff Marcos



This e-mail is for the use of the intended recipient(s) only. If you
have received in error, please notify the sender immediately and delete
it. If you are not the intended recipient, you must not use, disclose or
distribute this e-mail without the author's prior permission. Corporate
Express checks all outgoing mail and accepts no liability for any loss
or damage caused by software viruses.
---
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/


Fw: [U2] Unidata logging of BASIC Runtime errors

2006-05-10 Thread Wally Terhune
Well, we added file open error logging at one point and upset a lot of
folks - until we made it optional (which was the right thing to do...)  :-(

Wally Terhune
U2 Support Architect
IBM Information Management
4700 South Syracuse Street, Denver, CO   80237
Tel:  303.773.7969
Fax: 303.773.5915
[EMAIL PROTECTED]


- Forwarded by Wally Terhune/Denver/IBM on 05/10/2006 05:03 PM -

 "Bill Haskett"
 <[EMAIL PROTECTED]
 os.net>To
 Sent by:  
 [EMAIL PROTECTED]  cc
 stserver.u2ug.org
   Subject
   [U2] Unidata logging of BASIC
 05/10/2006 04:07  Runtime errors
 PM


 Please respond to
 [EMAIL PROTECTED]
er.u2ug.org






Dave:

UniData does not have logging for BASIC runtime errors (IBM got back with
me
on this).  There aren't enough requests for this feature to include it in
UniData.  :-(

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

[demime 1.01d removed an attachment of type image/gif which had a name of 
pic30102.gif]

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


RE: [U2] xls to text

2006-05-10 Thread Bill Hazard
Running under what OS?   

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 5:39 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] xls to text


> Hello List,
>
>
>
> Does anyone know where I can get FREE software that will convert Excel 
> files to text files in command line mode ?

How about trying openoffice.org? I'm not sure if it has commandline options,
but it does everything else...




>
> Thx,
>
>
>
> Rudy
>
>
>
>
>
> Rudy Cooper
>
>
>
> Technical Project Lead
>
> Sage Publications
>
> Information Technology Development
> (805) 410-7724
>
> [EMAIL PROTECTED]
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
>


--
karl

 _/  _/  _/  _/_/_/      __o
_/ _/   _/  _/_/   _-\<._
   _/_/_/  _/_/_/ (_)/ (_)
  _/ _/   _/  _/   ..
 _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]

--
IT Director, ATS Industrial Supply, Inc.
http://www.atsindustrial.com
Toll-free: 800-789-9300 x29
Direct2Desk: 801-978-4429
Facsimile: 801-972-3888
--
---
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] How do you find out about file operation within an index?

2006-05-10 Thread Jeff Marcos
Thanks for the feed back Phil, but triggers are too slow. We ran a very
simple test and found with triggers, it took 27 seconds to update 5000
records. Without a trigger it took < 1 second...

Regards,
Jeff Marcos

This e-mail is for the use of the intended recipient(s) only. If you
have received in error, please notify the sender immediately and delete
it. If you are not the intended recipient, you must not use, disclose or
distribute this e-mail without the author's prior permission. Corporate
Express checks all outgoing mail and accepts no liability for any loss
or damage caused by software viruses.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of phil walker
Sent: Thursday, 11 May 2006 9:06 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] How do you find out about file operation within an
index?

Hi,

If you are talking UV, then triggers will be the quickest option, as
this is done at the database level. You just have to make your code as
efficient as possible. Unfortunately UV does not support a select or
read trigger. When I was in development for VMARK, I argued for it but
alas I was a lone voice.

Cheers,

Phil.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Marcos
Sent: Thursday, 11 May 2006 11:01 a.m.
To: u2-users@listserver.u2ug.org
Subject: [U2] How do you find out about file operation within an index?

Hello all,



I'm wondering if there is a way to identify, within a file index, what
type of file operation has occurred.



Example; we have a program in an index to do some checks. We would also
like to find out, what the user is doing; delete, write, read, readu,
etc,...



Using triggers is not an option, because it just way too slow... Unless
someone could tell how to speed up triggers.



Regards,

Jeff Marcos



This e-mail is for the use of the intended recipient(s) only. If you
have received in error, please notify the sender immediately and delete
it. If you are not the intended recipient, you must not use, disclose or
distribute this e-mail without the author's prior permission. Corporate
Express checks all outgoing mail and accepts no liability for any loss
or damage caused by software viruses.
---
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] How do you find out about file operation within an index?

2006-05-10 Thread phil walker
Jeff,

I cannot see how you can do it any quicker? The only thing you could
hope for is that IBM look at how they call they trigger subroutine,
(while they are fixing the issue with the debugger - my personal
battle...:-) ), as whatever basic code you come up with to capture the
information will be the same as what you put in the trigger. The
advantage of the trigger is that you are assured that it will be
executed

Maybe you can check your code to see how efficient it is in doing
writes. Hopefully it is only doing the write once, and not repeatedly
doing the writes or writevs. as this will indeed cause the trigger
to fire more than once. The other thing to do with the trigger code is
to open the 'log' file variable into common, and be very efficient in
what you are doing...

Do not take this as a criticism of your code, as without seeing it,
noone could say. But as the code is going to be called every time the
database does a write or a delete then it needs to be efficient.

Cheers,

Phil. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Marcos
Sent: Thursday, 11 May 2006 12:31 p.m.
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] How do you find out about file operation within an
index?

Thanks for the feed back Phil, but triggers are too slow. We ran a very
simple test and found with triggers, it took 27 seconds to update 5000
records. Without a trigger it took < 1 second...

Regards,
Jeff Marcos

This e-mail is for the use of the intended recipient(s) only. If you
have received in error, please notify the sender immediately and delete
it. If you are not the intended recipient, you must not use, disclose or
distribute this e-mail without the author's prior permission. Corporate
Express checks all outgoing mail and accepts no liability for any loss
or damage caused by software viruses.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of phil walker
Sent: Thursday, 11 May 2006 9:06 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] How do you find out about file operation within an
index?

Hi,

If you are talking UV, then triggers will be the quickest option, as
this is done at the database level. You just have to make your code as
efficient as possible. Unfortunately UV does not support a select or
read trigger. When I was in development for VMARK, I argued for it but
alas I was a lone voice.

Cheers,

Phil.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Marcos
Sent: Thursday, 11 May 2006 11:01 a.m.
To: u2-users@listserver.u2ug.org
Subject: [U2] How do you find out about file operation within an index?

Hello all,



I'm wondering if there is a way to identify, within a file index, what
type of file operation has occurred.



Example; we have a program in an index to do some checks. We would also
like to find out, what the user is doing; delete, write, read, readu,
etc,...



Using triggers is not an option, because it just way too slow... Unless
someone could tell how to speed up triggers.



Regards,

Jeff Marcos



This e-mail is for the use of the intended recipient(s) only. If you
have received in error, please notify the sender immediately and delete
it. If you are not the intended recipient, you must not use, disclose or
distribute this e-mail without the author's prior permission. Corporate
Express checks all outgoing mail and accepts no liability for any loss
or damage caused by software viruses.
---
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] Unidata logging of BASIC Runtime errors

2006-05-10 Thread David Tod Sigafoos
Bill,

of course the flip side is .. why request something that you know you
aren't going to get.

Ah .. Unidata .. the ugly stepchild 

Wednesday, May 10, 2006, 3:07:05 PM, you wrote:

BH> Dave:

BH> UniData does not have logging for BASIC runtime errors (IBM got back with me
BH> on this).  There aren't enough requests for this feature to include it in
BH> UniData.  :-(



-- 
DSig `
David Tod Sigafoos  ( O O )
 ___oOOo__( )__oOOo___

"Far better it is to dare mighty things, to win glorious triumphs even though 
checkered by failure, than to rank with those poor spirits who neither enjoy 
nor suffer much because they live in the gray twilight that knows neither 
victory nor defeat."  Theodore Roosevelt
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Unidata logging of BASIC Runtime errors

2006-05-10 Thread Bill Haskett
Wally:

Aren't options great?  :-)

Bill Haskett
Advantos Systems, Inc.
www.advantos.net
(760)944-5570 (CA)
(360)923-4838 (WA)  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Wally Terhune
> Sent: Wednesday, May 10, 2006 4:05 PM
> To: u2-users@listserver.u2ug.org
> Subject: Fw: [U2] Unidata logging of BASIC Runtime errors
> 
> Well, we added file open error logging at one point and upset 
> a lot of folks - until we made it optional (which was the 
> right thing to do...)  :-(
> 
> Wally Terhune
> U2 Support Architect
> IBM Information Management
> 4700 South Syracuse Street, Denver, CO   80237
> Tel:  303.773.7969
> Fax: 303.773.5915
> [EMAIL PROTECTED]
> 
> 
> - Forwarded by Wally Terhune/Denver/IBM on 05/10/2006 
> 05:03 PM -
> 
>  "Bill Haskett"
>  <[EMAIL PROTECTED]
>  os.net>  
>   To
>  Sent by:  
>  [EMAIL PROTECTED]
>   cc
>  stserver.u2ug.org
>   
>  Subject
>[U2] Unidata logging of BASIC
>  05/10/2006 04:07  Runtime errors
>  PM
> 
> 
>  Please respond to
>  [EMAIL PROTECTED]
> er.u2ug.org
> 
> 
> 
> 
> 
> 
> Dave:
> 
> UniData does not have logging for BASIC runtime errors (IBM 
> got back with me on this).  There aren't enough requests for 
> this feature to include it in UniData.  :-(
> 
> Bill Haskett
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Fw: [U2] Unidata logging of BASIC Runtime errors

2006-05-10 Thread Wally Terhune
So - we are starting our planning cycle for the next release of UniData
now.
Is this something that there is a ground-swell of support for?
If so - what would it look like?

All or nothing switch? UDT.OPTIONS?  udtconfig setting? environment
variable? All users? Just selected users?
New log name - eg unibasic.errlog vs udt.errlog?
Some limit to the number logged before shutting it off? (concern about log
size and filling disk?)
ALL UniBasic run-time errors or warnings logged - regardless of fatality?
Just some class of errors? Is so - how would you define the ones you want
logged?

Collect your thoughts and funnel them thru the U2UG Better and Better
committee...
That is likely a better way than flooding this list. Just my
recommendation.


Wally Terhune
U2 Support Architect
IBM Information Management
4700 South Syracuse Street, Denver, CO   80237
Tel:  303.773.7969
Fax: 303.773.5915
[EMAIL PROTECTED]


- Forwarded by Wally Terhune/Denver/IBM on 05/10/2006 05:27 PM -

 "Bill Haskett"
 <[EMAIL PROTECTED]
 os.net>To
 Sent by:  
 [EMAIL PROTECTED]  cc
 stserver.u2ug.org
   Subject
   [U2] Unidata logging of BASIC
 05/10/2006 04:07  Runtime errors
 PM


 Please respond to
 [EMAIL PROTECTED]
er.u2ug.org






Dave:

UniData does not have logging for BASIC runtime errors (IBM got back with
me
on this).  There aren't enough requests for this feature to include it in
UniData.  :-(

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

[demime 1.01d removed an attachment of type image/gif which had a name of 
pic00485.gif]

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


RE: [U2] UV Turn off account creation

2006-05-10 Thread Ray Wurlod
UV.FLAVOR is keyed by three key formats:
USER.username
GROUP.groupname
OTHER

In field 1 you govern the ability to create accounts
C any flavor, prompted for
F only the specific flavor mentioned in field 2
N can not create accounts
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] How do you find out about file operation within an index?

2006-05-10 Thread Ray Wurlod
You could index an I-type that runs SUBR() to interrogate system variables.
You may need to use FILEINFO() applied to system file variables, if you can 
find out what these are called.
Or look at @COMMAND or @SENTENCE, etc.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: Fw: [U2] Unidata logging of BASIC Runtime errors

2006-05-10 Thread Craig Bennett

Wally,

Collect your thoughts and funnel them thru the U2UG Better and Better
committee...
That is likely a better way than flooding this list. Just my
recommendation.
  


As a UV user I don't mind what happens to UniData; but wouldn't it be 
great if UV and UD logged to syslog (every platform except windows) or 
the windows error logs?
All of a sudden monitoring U2 errors is just like any other installed 
program -- sysadmins feel good, logs get rotated and archived in a 
standard way. And everyone knows where to look even if they haven't read 
a U2 manual.


Surely this couldn't be that much harder than implementing your own 
logging system?


For bonus points expose the system logging functionality into U2 itself 
so that application writers can also write to the system logs where this 
is appropriate.




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


RE: Fw: [U2] Unidata logging of BASIC Runtime errors

2006-05-10 Thread Ross Ferris
Coming from a D3 background, one of the things I REALLY MISS is the
RUNTIME-ERRORS file.

If a process has an error in basic runtime, an error is logged. This is
especially useful for phantom jobs, or tracking problems onsite when "no
one saw anything funny" onscreen - yet we have a log of it!

Ross Ferris
Stamina Software
Visage > Better by Design!

>-Original Message-
>From: [EMAIL PROTECTED] [mailto:owner-u2-
>[EMAIL PROTECTED] On Behalf Of Craig Bennett
>Sent: Thursday, 11 May 2006 2:03 PM
>To: u2-users@listserver.u2ug.org
>Subject: Re: Fw: [U2] Unidata logging of BASIC Runtime errors
>
>Wally,
>> Collect your thoughts and funnel them thru the U2UG Better and Better
>> committee...
>> That is likely a better way than flooding this list. Just my
>> recommendation.
>>
>
>As a UV user I don't mind what happens to UniData; but wouldn't it be
>great if UV and UD logged to syslog (every platform except windows) or
>the windows error logs?
>All of a sudden monitoring U2 errors is just like any other installed
>program -- sysadmins feel good, logs get rotated and archived in a
>standard way. And everyone knows where to look even if they haven't
read
>a U2 manual.
>
>Surely this couldn't be that much harder than implementing your own
>logging system?
>
>For bonus points expose the system logging functionality into U2 itself
>so that application writers can also write to the system logs where
this
>is appropriate.
>
>
>
>Craig
>---
>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] Unidata logging of BASIC Runtime errors {Unclassified}

2006-05-10 Thread HENDERSON MIKE, MR
Wally,

As a current UniVerse user, I am perhaps a little biased, but ... 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Wally Terhune
> Sent: Thursday, 11 May 2006 15:38
> To: u2-users@listserver.u2ug.org
> Subject: Fw: [U2] UniData logging of BASIC Runtime errors
> 
> So - we are starting our planning cycle for the next release 
> of UniData now.
> Is this something that there is a ground-swell of support for?
> If so - what would it look like?

Exactly like the UniVerse one?
-   If there's no 'errlog' file, it doesn't log anything
-   The file is a rotating circular buffer of messages
i.e. it has room for "x" messages, and when it gets to "x"
it just wraps round to "1" again
-   A config option sets the value of "x" (UV default is 100)

> 
> All or nothing switch? UDT.OPTIONS?  udtconfig setting? environment
> variable? All users? Just selected users?
> New log name - e.g. unibasic.errlog vs udt.errlog?
> Some limit to the number logged before shutting it off? 
> (concern about log size and filling disk?)
> ALL UniBasic run-time errors or warnings logged - regardless 
> of fatality?

UniVerse seems to log everything, which works for me!

Why not have two the products work the same, unless there's a really
good reason not to?

Just my $0.02
Mike

> Just some class of errors? Is so - how would you define the 
> ones you want logged?
> 
> Collect your thoughts and funnel them thru the U2UG Better and Better
> committee...
> That is likely a better way than flooding this list. Just my
> recommendation.
> 
> 
> Wally Terhune
> U2 Support Architect
> IBM Information Management
> 4700 South Syracuse Street, Denver, CO   80237
> Tel:  303.773.7969
> Fax: 303.773.5915
> [EMAIL PROTECTED]
> 
> 
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: Fw: [U2] Unidata logging of BASIC Runtime errors {Unclassified}

2006-05-10 Thread HENDERSON MIKE, MR
Craig,

> -Original Message-
> From: [EMAIL PROTECTED] On Behalf Of Craig Bennett
> Sent: Thursday, 11 May 2006 16:03
> To: u2-users@listserver.u2ug.org
> Subject: Re: Fw: [U2] UniData logging of BASIC Runtime errors
 
[snip]

> wouldn't it be great if UV and UD logged to syslog (every platform
except 
> windows) or the windows error logs?
  windows application event logs
Yes, please, we'll have some of that 

[snip]

> For bonus points expose the system logging functionality into U2
itself 
> so that application writers can also write to the system logs where
this 
> is appropriate.

Yes, Yes, YES!
CALL OSEventLog(Category, Type, EventID, DescriptionText)

> 
> 
> 
> Craig
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: Fw: [U2] Unidata logging of BASIC Runtime errors {Unclassified}

2006-05-10 Thread Craig Bennett

Mike,

Yes, Yes, YES!
CALL OSEventLog(Category, Type, EventID, DescriptionText)
  


surely that one is easy using GCI? If you really want it
(excuse the unix version, can error logging from C be that much harder 
in windows?)


#include 

void OSEventLog(int priority, char* message){
syslog(priority, message);
}

If you wanted to get fancy you could even use openlog to specify an 
identifier, logging facility etc.


Come to think of it, I might suggest this one to the boss.

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