Re: [U2] UD: Phantoms

2010-04-08 Thread Dan McGrath
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

Re: [U2] UD: Phantoms

2010-04-08 Thread Dean.Armbruster
-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

Re: [U2] UD: Phantoms {Unclassified}

2010-04-08 Thread Dean.Armbruster
, 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

Re: [U2] UD: Phantoms

2010-04-08 Thread Dean.Armbruster
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

Re: [U2] UD: Phantoms {Unclassified}

2010-04-08 Thread fft2001
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

Re: [U2] UD: Phantoms {Unclassified}

2010-04-08 Thread Brian Leach
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

Re: [U2] UD: Phantoms

2010-04-07 Thread Wally Terhune
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

Re: [U2] UD: Phantoms

2010-04-07 Thread Wally Terhune
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 =

Re: [U2] UD: Phantoms {Unclassified}

2010-04-07 Thread HENDERSON MIKE, MR
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

Re: [U2] UD: Phantoms

2010-04-07 Thread Dan McGrath
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

Re: [U2] UD: Phantoms

2010-04-07 Thread Dan McGrath
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

Re: [U2] UD: Phantoms

2010-04-07 Thread FFT2001
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

Re: [U2] UD: Phantoms

2010-04-07 Thread Bill Haskett
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

Re: [U2] UD: Phantoms

2010-04-07 Thread Bill Haskett
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

Re: [U2] UD: Phantoms

2010-04-07 Thread Dean.Armbruster
-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

Re: [U2] UD: Phantoms

2010-04-02 Thread Bill Haskett
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'

Re: [U2] UD: Phantoms

2010-04-02 Thread Bill Haskett
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

Re: [U2] UD: Phantoms

2010-04-02 Thread Shaun.Ferguson
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

Re: [U2] UD: Phantoms

2010-04-02 Thread FFT2001
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.

Re: [U2] UD: Phantoms

2010-04-02 Thread Bill Haskett
.@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

Re: [U2] UD: Phantoms

2010-04-02 Thread Doug
...@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

Re: [U2] UD: Phantoms

2010-04-02 Thread Wally Terhune
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.

Re: [U2] UD: Phantoms

2010-04-02 Thread David Wolverton
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

Re: [U2] UD: Phantoms

2010-04-02 Thread Bill Haskett
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

Re: [U2] UD: Phantoms

2010-04-02 Thread BNeylon
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 __

Re: [U2] UD: Phantoms

2010-04-02 Thread Bill Haskett
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

Re: [U2] UD: Phantoms

2010-04-02 Thread Beverly Wilson
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

Re: [U2] UD: Phantoms

2010-04-02 Thread Bill Haskett
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

Re: [U2] UD: Phantoms

2010-04-02 Thread Bill Haskett
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

Re: [U2] UD: Phantoms

2010-04-02 Thread Marc Rutherford
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

Re: [U2] UD: Phantoms

2010-04-02 Thread Martin Phillips
: "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

Re: [U2] UD: Phantoms

2010-04-02 Thread Bill Haskett
---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

Re: [U2] UD: Phantoms

2010-04-02 Thread Wally Terhune
-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&#

Re: [U2] UD: Phantoms

2010-04-02 Thread Bill Haskett
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 ---

Re: [U2] UD: Phantoms

2010-04-02 Thread Doug
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

Re: [U2] UD: Phantoms

2010-04-02 Thread Chris Austin
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?

Re: [U2] UD: Phantoms

2010-04-02 Thread Wally Terhune
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

Re: [U2] UD: Phantoms

2010-04-02 Thread Martin Phillips
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

[U2] UD: Phantoms

2010-04-02 Thread Bill Haskett
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