1.

What is the difference between performing a SECTION and a PARAGRAPH?

Answer»

Here’s the difference in performing a Section and a Paragraph in COBOL

PARAGRAPHSECTION
It is just a block of CODE CONTAINING ONE or more sentences.This is a block of code that contains one or more paragraphs.
It begins with a paragraph name and ends with the starting of the next paragraph.It begins with a section name and ends with the starting of another section.
This can be ended in another WAY by another section starting or by the end of the program.It cannot be ended another way.
All the paragraphs should code in AREA A.All Sections should also code in AREA A.
Syntax: Paragraph-name.Syntax: {Section-name} SECTION.


Discussion

No Comment Found