If you have a different account for the UniObjects connections (we do for
ODBC access) you could use @ACCOUNT. Or you could use UOLOGIN to set an
@USER variable.

HTH
Colin Alfke
Calgary, Canada

> -----Original Message-----
> David A. Green
> 
> Try using SYSTEM(48). A Phantom process will have a COMO file.
> 
> Thanks,
> David A. Green
> 
> -----Original Message-----
> From: Bill Haskett
> 
> I'm having a bit of a problem figuring out how to tell, within a
> program, if
> it is running as a phantom.  It was my impression that @USER.TYPE would
> be
> set to 1 if the program was running as a phantom.  However, if I run
> a
> program from a UniObjects connection @USER.TYPE is always set to 1.
> It
> doesn't matter I test this within the main program that EXECUTEs a
> phantom
> or within the phantomed program.   If I test @TTY then it returns
> udcs
> from within the main program or Console from within the phantomed
> program
> (I hate to think this is how I determine if a program is running as a
> phantom ).
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to