FILE LOCKING IN QTP (long)
Nancy Tietz
ntietz@mcare.med.umich.edu
Wed, 24 Jun 98 14:07:00 PDT
In the HP mpe/ix environment, we use SET LOCK FILE UPDATE in all QTP's so as
to not interfere with Quick screen locking. In COBOL we use locking at the
dataset level - instead of the record level - to be compatible too.
Nancy Tietz
----------
>From: powerh-l-owner
>To: powerh-l
>Subject: Re: FILE LOCKING IN QTP (long)
>Date: Wednesday, June 24, 1998 10:15AM
>
>> Hello,
>>
>> I've been reading the QTP (vms) reference manual trying to figure out
file
>> locking without much success. A number of terms are either not defined
or
>> ambiguously defined.
>[snip]
>> What i would like to happen is to have everything shareable or at least
>> semi-exclusive so that QTPs and QUICK can access the same files at the
same
>> time. QTP should lock files during update, but only for the duration of
>> the update.
>
>It depends on how you're doing the update. Are you creating
>a temporary file? If so, it's going to do the input phase-output
>phase thing where it doesn't begin updates until the input phase
>is complete. You might check into whether you can do your
>updates in multiple requests, avoiding the creation of a temporary
>file. You can then set updates to lock just the record (probably
>the cluster actually) when it needs to update. You still need
>a strategy to handle conflicts when they occur, but they'll be
>much less frequent.
>= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
>Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
>powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
>This list is closed, thus to post to the list, you must be a subscriber.
>
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.