There is a simple way to determine if a process is a phantom by using
@TTY. I pasted information from the UniVerse Basic manual:
@TTY - Terminal device name. If the process is a phantom, @TTY returns
the value 'phantom'. If the process is a UniVerse API, it returns
'uvcs'.
Therefore this code
There's the JOBS command.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
@listserver.u2ug.org
Subject: Re: [U2] phantom checking - Universe
There's the JOBS command.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http
] phantom checking - Universe
Date: Sun, 20 Apr 2008 17:08:11 -0700
How old is this JOBS stuff? D3 has it and I couldn't find anything like this
in UD.
snip
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
Is there a system variable that can be used within a Basic program that tells
you how many phantoms you have running from your session. I know the JOBS
command will return this, however, Ibd like to find this out without the
user seeing the JOBS output to the screen. If I put a HUSH ON prior to
I don't know about system variables, but in unix/UniData you could do a
shell command like
CMD = 'ps -ef | grep PHANTOM | grep -v grep wc -l'
PCPERFORM CMD CAPTURING CAPTURED
This will give you either a number or 0 in CAPTURED
Brad
[EMAIL PROTECTED] wrote on 04/18/2008 01:23:59 PM:
Is there