what are the divisions of a cobol program
The fourth division in a COBOL (sub)program is the PROCEDURE DIVISION, which contains the executable code. It is comprised of one or more paragraphs, each of which is identified by a programmer-supplied name. The rules governing whether a paragraph name is valid are the same as those governing data names.
DATA DIVISION. Overview. The third division in a COBOL (sub)program is the DATA DIVISION, in which the data used by the (sub)program is declared/described. The DATA DIVISION of a subprogram contains three sections --FILE, WORKING-STORAGE, and LINKAGE-- while that of a (main) program contains only the first two.