The PROCEDURE DIVISION header
The PROCEDURE DIVISION, if specified, is identified by one of the following headers, depending on whether you are specifying a program, a factory definition, an object definition, a method definition, a function definition, or a function prototype definition.
The following syntax diagram shows the format for a PROCEDURE DIVISION header in a program.
The following syntax diagram shows the format for a PROCEDURE DIVISION header in a factory paragraph or object paragraph.
The following syntax diagram shows the format for a PROCEDURE DIVISION header in a method.
The following syntax diagram shows the format for a PROCEDURE DIVISION header in a user-defined function.
The following syntax diagram shows the format for a PROCEDURE DIVISION header in a function prototype.
