When working with indexed files, the _____ clause is used to specify the key structure.
- INDEXED
- KEYS
- OCCURS
- SORT
The KEYS clause in COBOL is used when working with indexed files to specify the key structure. It defines the fields that make up the index key, facilitating efficient access to records in the indexed file.
Loading...
Related Quiz
- Which COBOL data type allows you to store both numeric and alphabetic characters?
- Which COBOL data type is used to store whole numbers without a fractional part?
- In COBOL, which keyword is commonly used to define variable-length records?
- In COBOL, what happens when you open a file in "Output" mode that already exists?
- In COBOL, what is the significance of the DEPENDING ON clause when used with the OCCURS clause?