Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What is the purpose of the GENERATE statement in COBOL?
Answer: The GENERATE statement in COBOL is used to dynamically create new paragraphs or sections during program execution. It enhances the flexibility and adaptability of the program.

Example:

GENERATE 'NEW-PARAGRAPH'.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook