VMS Help
COBOL, PROCEDURE_DIVISION, FIND, 2format ALL
*Conan The Librarian
|
The FIND ALL statement locates zero or more records in the database and
inserts them into the named keeplist.
Format 2 -
FIND ALL keeplist-name [ record-name ] [ WITHIN { realm-name } ]
[ { set-name } ]
[ USING { rec-key } ... ] [ FOR UPDATE ]
[ WHERE { bool-exp } ]
[{ [ AT END stment ] [ NOT AT END stment ] } ]
[{ [ ON ERROR stment ] [ NOT ON ERROR stment ] } ]
[ END-FIND ]
names a keeplist in the Sub-Schema Section.
is a subschema record name.
is a subschema realm name.
is a subschema set name.
is a key data item within the subschema record occurrence. The same
rec-key can appear only once in a given USING phrase.
is a conditional expression that involves data items of the object
record. It is used to specify additional requirements of a
qualifying record.
is an imperative statement.