Question wasn't clear to me.
If looking at active processes, listuser shows which are phantoms (USRTYPE 
column)
Also - UniBasic LISTUSER() function returns this as dynamic array for easy 
parsing

:listuser

Licensed(UDT+CP)/Effective      Udt     Sql     iPhtm   Pooled          Total

    (  32 + 32  ) / 64          1       0       0       0               1

UDTNO USRNBR  UID USRNAME   USRTYPE  TTY    IP-ADDRESS    TIME     DATE
  1   5936 305730 WTerhune  udt     pts/1   Console       09:34:36 Apr 02 2010
  2   4300 305730 WTerhune  phantom pts/2   Console       09:34:58 Apr 02 2010

Wally Terhune
U2 Support Architect
Rocket Software
4700 S. Syracuse Street, Suite 400 **Denver, CO 80237 **USA
Tel: +1.720.475.8055
Email: wterh...@rs.com
Web: www.rocketsoftware.com/u2


-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Martin Phillips
Sent: Friday, April 02, 2010 9:35 AM
To: U2 Users List
Subject: Re: [U2] UD: Phantoms

Hi Bill,

> In UniData, does anyone know of a sure way to determine if a BASIC 
> program is running as a phantom?

Take a look at the @USER.TYPE variable. This contains 1 for a phantom.


Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
+44-(0)1604-709200
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to