Subject: Re: [U2] UD: Phantoms
Dan, what version of UniData are you running. I reported a similar bug
several years ago and it was fixed in version 6.1.7. With that bug, it
happened when the process was killed, and then even logging out wasn't
sufficient; any process reusing the UDTNO of the k
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Thursday, 8 April 2010 3:38 AM
To: U2 Users List
Subject: Re: [U2] UD: Phantoms
Well. I have to apologize for disparaging PAUSE. I ran tests by:
PauseT
, April 08, 2010 3:27 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] UD: Phantoms {Unclassified}
The reason I asked about what you're doing exactly Bill, is that it's
not strictly necessary to wake up a phantom every minute to decide if
there is anything to do. You can also write rou
m: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wally Terhune
Sent: Wednesday, April 07, 2010 7:35 PM
To: U2 Users List
Subject: Re: [U2] UD: Phantoms
The PAUSE signaling interval is tied to the -m argument on cleanup
(which is 10 by default).
On
The reason I asked about what you're doing exactly Bill, is that it's not
strictly necessary to wake up a phantom every minute to decide if there is
anything to do. You can also write routines that poke the phantom to wakeup
right now.
Will
___
U
Hardware dependent.
Brian
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of HENDERSON MIKE,
MR
Sent: 08 April 2010 12:15 AM
To: U2 Users List
Subject: Re: [U2] UD: Phantoms {Unclassified}
Meh!
Like "NAP
ssage-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wally Terhune
Sent: Wednesday, April 07, 2010 5:35 PM
To: U2 Users List
Subject: Re: [U2] UD: Phantoms
The PAUSE signaling interval is tied to the -m argument on cleanup (which is 1
m: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath
Sent: Wednesday, April 07, 2010 4:34 PM
To: U2 Users List
Subject: Re: [U2] UD: Phantoms
Bill, I get similar results to your test program.
INPUT PauseTime
FOR I = 1 TO 10
StartTime =
h
Sent: Thursday, 8 April 2010 10:34 a.m.
To: U2 Users List
Subject: Re: [U2] UD: Phantoms
Bill, I get similar results to your test program.
INPUT PauseTime
FOR I = 1 TO 10
StartTime = TIME()
PAUSE PauseTime
StopTime = TIME()
CRT "Total time taken is " : OCONV(StopTime - St
taken.
PAUSE will now not work again in your session, time to log out. :(
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath
Sent: Thursday, 8 April 2010 8:34 AM
To: U2 Users List
Subject: Re: [U2] UD: Phantoms
e-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Thursday, 8 April 2010 3:38 AM
To: U2 Users List
Subject: Re: [U2] UD: Phantoms
Well. I have to apologize for disparaging PAUSE. I ran tests by:
PauseTime = 30
StartTime
I might have missed Bill why are you sleeping for a minute in a phantom?
What's it doing that it needs to wake up every minute?
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
e of most
common conditions which will not return a call stack via PORT.STATUS.
Dean Armbruster
System Analyst
757-989-2839
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wally Terhune
Sent: Friday, April 02, 2010 2:05
o:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wally Terhune
Sent: Friday, April 02, 2010 2:05 PM
To: U2 Users List
Subject: Re: [U2] UD: Phantoms
Not sure.
We do use signaling to 'interrupt' the running process and get it to
tell the PORT.STATUS session what it is up to.
IIRC, we use SI
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wally Terhune
Sent: Friday, April 02, 2010 2:05 PM
To: U2 Users List
Subject: Re: [U2] UD: Phantoms
Not sure.
We do use signaling to 'interrupt' the running process
antom dies, the lock goes with it.
And more
flexible than the "LOCK 60" type of lock.
DW
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Doug
Sent: Friday, April 02, 2010 10:57 AM
To: 'U2 Users List'
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 Bill Haskett
Sent: Friday, April 02, 2010 10:22 AM
To: U2 Users List
Subject: Re: [U2] UD: Phantoms
Wally:
Thanks. Using LISTUSE
I am on digest, so apologies if this is a duplication of a suggestion
made earlier. We tend to use plain old record locks for our phantom
processes.
The record won't list but if you try to edit it, it will come back as
locked and prevents a second instance of the process from running.
Ex;
* Se
I second David's idea of using a READU also you can return exactly which
port/pid has the lock set, which might be helpful as well if the phantom
*shouldn't* be running!
I'd go a set further and have the phantom actually timestamp when it set
the READU lock.
.@listserver.u2ug.org] On Behalf Of Doug
Sent: Friday, April 02, 2010 10:57 AM
To: 'U2 Users List'
Subject: Re: [U2] UD: Phantoms
Bill:
Use the LOCK command with number 0 through 63. Have your phantom process do
a "LOCK 60". Then you can test it in other programs using the else
...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Friday, April 02, 2010 11:15 AM
To: U2 Mail List
Subject: Re: [U2] UD: Phantoms
Doug:
After reading the documentation for LOCK...
"Resources are not automatically unlocked by the termination o
ail: 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 Bill Haskett
Sent: Friday, April 02, 2010 10:22 AM
To: U2 Users List
Subject: Re: [U2] UD: Phantoms
Wally:
Thanks.
e "LOCK 60" type of lock.
DW
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Doug
Sent: Friday, April 02, 2010 10:57 AM
To: 'U2 Users List'
Subject: Re: [U2] UD: Phantoms
Bill:
Use the LOCK command wit
Bruce:
Thanks, but the _PH_ file is cleaned up every night using the
CLEAR.ACCOUNT command (we use a number of 3rd party applications that
create _PH_ items throughout the day). When I check out the locks I see
it doesn't work as expected...
2 Dev (0)-> LIST.LOCKS
2 Dev (0)-> BPTEST LOCK 60
Is there anyway to use the COMO file (_PH_)? If a Phantom ends or crashes
the last line is something like " PHANTOM process has completed."
What happens when UDT is recycled? That has never happened to me. :-)
Bruce M Neylon
Health Care Management Group
__
Bill Haskett
Sent: Friday, April 02, 2010 9:25 AM
To: U2 Mail List
Subject: [U2] UD: Phantoms
In UniData, does anyone know of a sure way to determine if a BASIC
program is running as a phantom?
We have a background service program in our application that has to
be running as a phantom whenever Uni
utherford
Senior Programmer/Analyst
Advanced Bionics LLC
661) 362 1754
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Friday, April 02, 2010 8:25 AM
To: U2 Mail List
Subject: [U2] UD: Phantoms
In U
r/Analyst
Advanced Bionics LLC
661) 362 1754
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Friday, April 02, 2010 8:25 AM
To: U2 Mail List
Subject: [U2] UD: Phantoms
In UniData, does anyone know o
On Behalf Of Bill Haskett
Sent: Friday, April 02, 2010 9:25 AM
To: U2 Mail List
Subject: [U2] UD: Phantoms
In UniData, does anyone know of a sure way to determine if a BASIC
program is running as a phantom?
We have a background service program in our application that has to be
running as
ril 02, 2010 8:25 AM
To: U2 Mail List
Subject: [U2] UD: Phantoms
In UniData, does anyone know of a sure way to determine if a BASIC
program is running as a phantom?
We have a background service program in our application that has to be
running as a phantom whenever UniData starts. The ability
: "Bill Haskett"
To: "U2 Users List"
Sent: Friday, April 02, 2010 5:03 PM
Subject: Re: [U2] UD: Phantoms
Martin:
@USER.TYPE only tells me if the "current" process (the one I'm logged in
on) is a phantom. It tells me nothing about other processes nor what
---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
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Friday, April 02, 2010 10:04 AM
To: U2 Users List
Subject: Re: [U2] UD: Phantoms
Martin:
@USER.TYPE only tells me if the "current" process (the one I
Martin:
@USER.TYPE only tells me if the "current" process (the one I'm logged in
on) is a phantom. It tells me nothing about other processes nor what
programs are running on those other processes. I think... :-)
Bill
---
users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Friday, April 02, 2010 9:25 AM
To: U2 Mail List
Subject: [U2] UD: Phantoms
In UniData, does anyone know of a sure way to determine if a BASIC
program is running as a phantom?
We have a
phantom:5564 Apr 2 10:44
> Date: Fri, 2 Apr 2010 08:24:38 -0700
> From: wphask...@advantos.net
> To: U2-users@listserver.u2ug.org
> Subject: [U2] UD: Phantoms
>
> In UniData, does anyone know of a sure way to determine if a BASIC
> program is running as a phantom?
g.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 conta
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-70920
In UniData, does anyone know of a sure way to determine if a BASIC
program is running as a phantom?
We have a background service program in our application that has to be
running as a phantom whenever UniData starts. The ability to start
something when the dbms starts doesn't exist in UniData
39 matches
Mail list logo