What happens when a CONTINUE statement is encountered during program execution?
- It continues with the next iteration of the loop
- It restarts the program from the beginning
- It terminates the program
- It transfers control to the next paragraph in the procedure division
When a CONTINUE statement is encountered in COBOL, it transfers control to the next paragraph in the procedure division. It is often used for creating empty or dummy paragraphs and does not affect the flow of the program.
Loading...
Related Quiz
- In the context of indexed file processing, what does an alternate index provide?
- In a COBOL "IF" statement, what happens if the condition is not met?
- What is the significance of the REDEFINES clause when defining data items in COBOL?
- In COBOL, when dealing with variable-length records, which data structure is used to determine the length of each record?
- When using the ENTRY statement in COBOL, variables declared in the called program have a _____ scope.