RE: [U2] $UVHOME & /.uvhome

2007-09-17 Thread Jef Lee
>From the Help,

 quote 
>From a BASIC program there are two ways to find the UV account:

* Use the UV.ROOT replace token that is defined in the FILENAMES.H
header file

* Use the SYSTEM (32) BASIC function

Note: You cannot find the location of the UV account by opening and
reading the /.uvhome file because this file does not exist on Windows NT
(the location of the UV account is saved in the Windows NT Registry).
 unquote 

I tried the System(32) call and it worked for me.

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


[U2] $UVHOME & /.uvhome

2007-09-17 Thread Stevenson, Charles
> Where is this $UVHOME file?  I can't find it in my UV directory.

In the root directory there is a hidden file called ".uvhome" that is a
simple text file pointing to where universe is installed.  Mine says:

   $cat /.uvhome
   /dbms/uv
   $

UVHOME is a variable that many people typically set up in their
.profiles:

  UVHOME=`cat /.uvhome`
  export UVHOME

So if I say echo $UVHOME I get this:
   $echo $UVHOME
   /dbms/uv
   $

Usually it is included in PATH, too:
PATH=$PATH:$UVHOME/bin:/software/bin
export PATH 

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