Question: Explain the purpose of the EXIT statement.Answer: The EXIT statement in COBOL is used to terminate a loop prematurely. It allows the program to exit a PERFORM loop or a Section before reaching the normal end.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users: