Question: What is the purpose of the EXIT PROGRAM statement?Answer: The EXIT PROGRAM statement in COBOL is used to terminate the entire program. It is often used in conjunction with a condition or as part of an error-handling routine.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users: