Putting a pause in Quick

Joe Boyle atla38 at dsl.pipex.com
Mon Jun 20 18:05:13 CDT 2005


You don't say which PH version you are using or file system, but in general
you have to avoid screen IO because the lock will be broken if this occurs.

I would ordinarily use a loop like that below 

Let t'val = 0

Lock recname record

While t'val lt 1000000 ( or whatever time lapse you need )
begin

let t'val = t'val + 1

end
.
.
unlock recname 

then run the same screen from other logins to confirm conflicts.

Regards, Joe. 

________________________________________
From: powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com
[mailto:powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com] On Behalf Of
Mary McNairney
Sent: 20 June 2005 23:05
To: powerh-l at lists.sowder.com
Subject: Putting a pause in Quick

Hi,

I am trying to test the locking of a Quick screen. Does anyone know how I
can put a pause in the screen to lock it for long enough for my qtp process
to find it is locked? I have tried doing multiple FOR loops with the inner
loop actually updating a file, but it still runs too fast. 

Mary.



More information about the powerh-l mailing list