COBOL programs often use the _____ section to define the structure of data retrieved from a database.
- DATA
- FILE
- LINKAGE
- WORKING-STORAGE
In COBOL, the WORKING-STORAGE section is commonly used to define the structure of data retrieved from a database. It includes variables that hold data during program execution.
Loading...
Related Quiz
- What is the primary purpose of using subprograms in COBOL?
- The COMPUTE statement in COBOL is often used for _____ complex arithmetic calculations.
- You are working on a mission-critical COBOL program for a banking application. During testing, an unexpected error occurs. Which statement should you use to gracefully handle this error without terminating the program?
- The INSPECT statement in COBOL allows you to search for and _____ occurrences of specific characters or phrases in a field.
- In a COBOL application, you need to maintain a record of sales transactions for multiple products and store them efficiently. Which type of COBOL data structure would be most suitable for this scenario, and why?