Quick CLOSE command behavior

Kesterson, Roger Roger.Kesterson@mtdsw.com
Thu, 1 Feb 2001 09:52:45 -0700


PH 7.10.G2 on Alpha OpenVMS 7.1

We have some Quick programs that run in batch and process requests from our
data collection systems via mailboxes.  These Quick programs retrieve data
from our MRP system (indexed RMS files) in the process of handling the data
collection requests.  The files are defined in Quick as "FILE X DESIGNER
OPEN READ SHARE".  The MRP system is taken down once each month for
end-of-month processing which requires exclusive access to all files.

To allow the data collection process to continue during these periods, the
files used by Quick are backed up to another location, and the logical names
that reference them are redefined to point to the new location.  In an
attempt to get Quick to relenquish access to the production files, and open
the backup copies instead, I added a reset request which, when received by
Quick through the mailbox, causes the program to do an explicit "CLOSE" on
each file.  My assumption was that the file would be released, and the next
time Quick tried to access it, it would be reopened at the new location.

My assumption was apparently incorrect, the file is not released.  When I do
a "SHOW DEVICE/FILES" in the production directory, it still shows Quick as
having the files open there.  Can anyone explain this?  Is there a way to
get this to work, besides exiting and restarting Quick?

Thanks,

Roger Kesterson
Senior Programming Analyst
MTD Southwest, Inc.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.