FIND {(channelno{options})}{inputlist}
FIND RECORD{(channelno{options})}{strvar}

FIND handles missing keys differently than other input verbs. If the KEY= option requests a key that does not exist, FIND leaves the file pointer where it was before the FIND operation. In some applications, the file pointer is not moved and using FIND in these cases saves time in some implementations. For non-keyed files, FIND and READ are identical.

The FIND, EXTRACT, and INPUT verbs use the same syntax as the READ and READ RECORD verbs. See the READ verb for additional information.


For C-ISAM files, the FIND verb resets the file pointer. Subsequent KEY()- function calls and un-keyed READ operations can result in an !ERROR=2.

See Also

Verbs - Alphabetical Listing