Skip to main content

This article explains the difference between file status 37 and 9/37.

Problem:

File status 37 is "An OPEN operation has been tried on a file which does not support the open mode specified in the OPEN statement."

File status 9/37 is RTS error 37, "File Access Denied".

How do you distinguish between the two?

Resolution:

File status 37 consists of the characters "3" and "7" (hexadecimal 3937). File status 9/37 is the characters "9" and "7" (hexadecimal 3937). Note: There is no file status "97" with which to confuse the latter.

File status 37 is usually a programming error, such as OPEN EXTEND of an indexed file.

File status 9/37 is usually a run-time error caused by a conflict between file and/or directory permissions and user access rights.

Old KB# 14888