The END PROGRAM header indicates the end of a named COBOL source program. It also separates each program in a sequence of source programs. An END PROGRAM header is optional for the last program in a sequence of source programs only if that program does not contain any nested programs.
END PROGRAM Header - Format
>>-END PROGRAM--+-program-name-1-+--.--------------------------><
| (1) |
'-literal-1------'
Notes:
+-------------------------------IBM Extension--------------------------------+
+----------------------------End of IBM Extension----------------------------+
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.