Structure of a COBOL Program

S

 

img2

A brief introduction is given below about structure of COBOL program–

  • Divisions
    it is a block of code, usually containing one or more sections, that starts where the division name is encountered and ends with the beginning of the next division or with the end of the program text.
  • Sections are the logical subdivision of program logic. A section is a collection of paragraphs.
  • Paragraphs are the subdivision of a section or division. It is either a user-defined or a predefined name followed by a period, and consists of zero or more sentences/entries.
  • Sentences are the combination of one or more statements. Sentences appear only in the Procedure division. A sentence must end with a period.
  • Statements are meaningful COBOL statements that perform some processing.

About the author

Add comment

By neelam

Find us

Address
Chennai ,Tamil Nadu,603103

Hours
Monday—Friday: 9:00AM–5:00PM
Saturday & Sunday: 11:00AM–3:00PM

About This Site

This site is to help the beginners in COBOL.

Categories