When working with relative files, what is the significance of the RELATIVE KEY clause?

  • It defines the data type of the relative key
  • It establishes the relationship between the record and its relative key
  • It indicates the starting point for sequential processing
  • It specifies the physical location of the file on the storage device
The RELATIVE KEY clause in COBOL relative files establishes the relationship between the record and its relative key. It defines which field in the record serves as the relative key, allowing for direct access based on the relative record number.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *