NoKey

From BR Wiki
Revision as of 12:45, 10 April 2014 by John (talk | contribs) (moved NOKEY to NoKey over redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.