NoKey

From BR Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The NoKey error condition (also known as error code 4272) can be used at the end of a program statement and in the Exit statement, but it cannot be specified in an ON error statement.

Error Traps:

NOKEY traps the error that occurs when a file does not contain the specified key when a KEY= or SEARCH= clause is used on a file opened for the KEYED method of access.