WAITING ON LOCK... (VMS)

Chris Sharman chris.sharman@ccagroup.co.uk
Fri, 12 Apr 2002 09:11:53 +0100


Does "WAITING ON LOCK" last forever, or does it resolve ?
It means that one person/process/thread has a resource (file, I think,
rather than record) locked, and another is waiting for it.

There's two possibilities:
1. The Quick is (sometimes?) holding a lock the QTP needs.
2. The QTP is sometimes clashing with another, unrelated, user.

I'd recommend ignoring file locks, and going for record locks.
Also code all your quick/qtp to take just the access it needs: eg, specify
open read where possible, and specify share where possible too.
If you want to use compatible 3GL locking, record locking is normal RMS
locking, and won't require any special 3GL coding for compatibility.
The DALOCK stuff is about file locking, and I'm fairly confident it's
severely flawed.

So how is 8.30Z1 - how does it differ from 8.30, and what issues are there
in upgrading from 7.10 ?
[I still haven't got round to using 8.30 - we've not got around to our
pre-upgrade code tidying]

Regards,
Chris Sharman

> -----Original Message-----
> From: Etienne Rompré [mailto:rompre99@hotmail.com]
> Sent: 11 April 2002 21:18
> To: mx% powerh-l@lists.swau.edu
> Subject: Re: WAITING ON LOCK...
>
>
> Hi Again,
>
> We use RMS files.
>
> Thanks to all.
>
>
> --
> Etienne Rompré
> Superviseur / Supervisor
>
> Location Rompré Ltée
> Franchisé National Locations d'autos /
> National Car rental Franchisee
> Québec Canada
>
> tél: (418) 683-0400
> fax: (418) 683-5157
> courriel/email: rompre@rompre.qc.ca
> internet:  http://www.rompre.qc.ca/
>
>
> > Hi,
> >
> > We are using Powerhouse 8.30Z1 (Because of Powerhouse WEB) on
> Open VMS 7.3
> >
> > From a quick screen in a Post Update , we call a QTP that will modify a
> > bunch a files with a Run command and we get (not all the time)
> the message :
> > WAITING ON LOCK ..............
> >
> > On our other alpha with Powerhouse 7.1E and OpenVms 6.2 we
> never had this
> > message.
> >
> > Any suggestions?
> >
> > Thanks!
> >
> >
> > --
> > Etienne Rompré
> > Superviseur / Supervisor
> >
> > Location Rompré Ltée
> > Franchisé National Locations d'autos /
> > National Car rental Franchisee
> > Québec Canada
> >
> > tél: (418) 683-0400
> > fax: (418) 683-5157
> > courriel/email: rompre@rompre.qc.ca
>
>
> = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Mailing list: powerh-l@lists.swau.edu
> Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
> Unsubscribe: "unsubscribe" in message body to
> powerh-l-request@lists.swau.edu
> http://lists.swau.edu/mailman/listinfo/powerh-l
> This list is closed, thus to post to the list you must be a subscriber.
> ------------------------------------------------------------------
> --------------
> Date: Thu, 11 Apr 2002 16:13:40 -0400
>



-----------------------------------------------------------------------

Any views expressed in this message are those of the sender and not
necessarily those of CCA Group.  The unauthorized use, disclosure,
copying or alteration of this message is forbidden.  The contents of
this message may be confidential and/or privileged, copyright CCA Group
and are intended solely for the use of the individual or entity to whom
they are addressed.  Whilst this message has been scanned, CCA Group
cannot guarantee that it is virus free or compatible with your systems
and accepts no responsibility for any loss or damage arising from its
use. The recipient is advised to run their own anti-virus software. If
you receive this message in error please contact
postmaster@ccagroup.co.uk immediately, destroy any copies and delete it
from your computer systems.