our new ventures

Dear friends we are posting latest papers and material on https://go4exams.com do not forget to subscribe to funny new whattsapp channel at https://whatsapp.com/channel/0029VayGFCf3QxS5oTgCDU2d

Wednesday, May 23, 2012

Explain SECTIONS and PARAGRAPHS in various DIVISIONS of a COBOL program?

Explain SECTIONS and PARAGRAPHS in various DIVISIONS of a COBOL program?

PARAGRAPH: Set of one or more COBOL sentences making up a logical processing entity and preceded by a paragraph header or name. There are two SECTIONS in DATA DIVISION of COBOL programming.

The FILE SECTION, as the name indicates, is used to describe the format of data in all the files, whether input or output files. This section is optional. If the program is not using any file, this section can be skipped. It must have entries for all the files being used. The WORK1NG section on the other hand is used to define the data fields required over and above the ones defined in the FILE SECTION. These may be required to store some intermediate working values or some constants used in the program.

No comments:

Post a Comment

Join Our WhatsApp Channel for Non-Stop Memes & Quotes!

  Join Our WhatsApp Channel for Non-Stop Memes & Quotes! Hey 👋 Feeling stressed? Need a quick laugh? We’ve got just the thing for...