Bob,

Take a look at the @WHO, @PATH, @TTY and @ACCOUNT (aka @LOGNAME) system
provided variables, as well as SYSTEM(42).  These should tell you everything
you need to know about who you are, what you are and where you are (at least
as far as Universe is concerned).

> -----Original Message-----
> From: Bob Woodward [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 20, 2005 10:20 AM
> To: U2-Users List
> Subject: [U2] Universe account Name/ID
> 
> Hi Folks.
> 
> I'm trying to find the simplest way to figure out which account a
> program is running in, within the program.  Basically, between a
> development/testing account and the live account. I've got a number of
> ways to extrapolate where I am but I'm hoping that there is 
> some system
> variable that has the current account info that I can directly access
> either at a TCL command or via a BASIC variable.  Also, I need to be
> able to do this from both, an interactive session and from a phantom.
> 
> Environment: Win2k, Universe 10.0.15
>  
> Bob Woodward
> Programmer/Analyst
> Harbor Wholesale Grocery
> [EMAIL PROTECTED]
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to