Which division of a COBOL program is responsible for defining external files?
- FILE SECTION
- INPUT-OUTPUT SECTION
- LINKAGE SECTION
- WORKING-STORAGE SECTION
The "FILE SECTION" in COBOL is responsible for defining external files that the program will read from or write to. It specifies the organization, access mode, and other attributes of the files used by the program.
Loading...
Related Quiz
- When opening a file in "Output" mode, COBOL will _____ an existing file with the same name.
- You are developing a COBOL program for processing financial transactions, and you want to ensure that any error during processing is logged and reported. Which COBOL error handling technique would you choose for this scenario?
- In COBOL, alphanumeric data types are often defined using the _____ keyword.
- When working with arithmetic operations in COBOL, the ________ statement is used to control the flow of execution based on conditions.
- Explain the difference between a primary key and an alternate key in indexed file processing.