What guidelines should be followed to write a structured COBOL program ?
Correct Answer
Following guidelines to be following while writing Cobol program: - Use ? EVALUATE ? statement for constructing cases - Use scope terminators for nesting - Use in-line Perform statement for writing ?do? constructions - Use Test Before and Test After in the Perform statement while writing Do-While statements
Technology problems
Search Results
1. What are the differences between COBOL and COBOL II?
Correct Answer: There are some differences: COBOL II supports structured programming by using in line Performs and explicit scope terminators It introduces new features (EVALUATE, SET TO TRUE, CALL BY CONTEXT, etc) It permits programs to be loaded and addressed above the 16-megabyte line It does not support many old features (READY TRACE, REPORT-WRITER, ISAM, etc) It offers enhanced CICS support
2. What divisions, sections and paragraphs are mandatory for a COBOL program?