sharing violationAn attempt to open a file that is being used by another program. In a normal single-user environment, if an application has already called in a file (document, spreadsheet, etc.), and another program tries to read it, a sharing violation occurs. The solution is to close the file, which releases the "lock" placed on it by the application that opened it.
Network Files Can Be Shared
In a network environment, files can be made sharable for multiple users. If the data are only read and not changed, multiple applications (users) can read the file at the same time. If the file can be updated by multiple users, the operating system or DBMS must manage access to the data via file and record locking or other tracking mechanisms. See file and record locking.
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.