The EXIT statement provides a common logical end point for a series of procedures. The EXIT PROGRAM statement marks the logical end of a called program.
1 – 1statement
The EXIT statement provides a common logical end point for a series of procedures. Format - EXIT
2 – 2statement PROGRAM
The EXIT PROGRAM statement marks the logical end of a called program. Format - EXIT PROGRAM