@WHO gives me the windows user id but not the Universe Account.  The
OCONV gives me both pieces of information I need.  I didn't ask about
the PORT number but this works out great.

Thanks Nick!

Bob

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:owner-u2-
> [EMAIL PROTECTED] On Behalf Of Nick Cipollina
> Sent: Thursday, January 20, 2005 11:09 AM
> To: [email protected]
> Subject: RE: [U2] Universe account Name/ID
> 
> @WHO will tell you which account you are running on.  OCONV("",
"U50BB")
> will give you the PORT and Account.
> 
> Thanks,
> 
> Nick Cipollina
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward
> Sent: Thursday, January 20, 2005 1:20 PM
> 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/
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to