When defining an indexed file in COBOL, what information is typically included in the file's SELECT statement?

  • FILE STATUS clause, DATA RECORD clause, FILE-CONTROL paragraph, and ACCESS mode
  • FILE STATUS clause, RECORD clause, ACCESS mode, and ORGANIZATION mode
  • FILE STATUS clause, RECORD clause, FILE-CONTROL paragraph, and ACCESS mode
  • RECORD clause, ORGANIZATION mode, ACCESS mode, and INDEXED BY clause
The SELECT statement for an indexed file in COBOL typically includes the FILE STATUS clause for error handling, the RECORD clause for specifying the structure of records, the FILE-CONTROL paragraph to manage file attributes, and the ACCESS mode to indicate sequential or random access.
Add your answer
Loading...

Leave a comment

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