File Status Codes

If your program runs in a multi-user environment, you should always check for the following file status codes:

File Status Code Description
9/065 This status code is returned by an OPEN statement and indicates that the file is locked.
9/068 This status code is returned by a READ, DELETE or REWRITE statement and indicates that the record is locked.
9/213 This status code indicates that the maximum number of permitted locks has been reached. The maximum number of permitted locks depends on your network and/or operating system.