Control break

Uses your system voice; voice and rate in settings.

Q1551075Snapshot

≈ 2 min read

Names in other languages

  • DeutschGruppenwechsel
  • EnglishControl break
  • 日本語コントロールブレイク

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

In computer programming, a control break is a change in the value of one of the keys on which a file is sorted, which requires some extra processing. For example, with an input file sorted by post code, the number of items found in each postal district might need to be printed on a report, and a heading shown for the next district. Quite often there is a hierarchy of nested control breaks in a program, such as streets within districts within areas, with the need for a grand total at the end. Structured programming techniques have been developed to ensure correct processing of control breaks in languages such as COBOL and to ensure that conditions such as empty input files and sequence errors are handled properly. With fourth-generation languages such as SQL, the programming language should handle most of the details of control breaks automatically.

In computer programming, a control break is a change in the value of one of the keys on which a file is sorted, which requires some extra processing. For example, with an input file sorted by post code, the number of items found in each postal district might need to be printed on a report, and a heading shown for the next district. Quite often there is a hierarchy of nested control breaks in a program, such as streets within districts within areas, with the need for a grand total at the end. Structured programming techniques have been developed to ensure correct processing of control breaks in languages such as COBOL and to ensure that conditions such as empty input files and sequence errors are handled properly. With fourth-generation languages such as SQL, the programming language should handle most of the details of control breaks automatically. ==References==

Text derived from https://en.wikipedia.org/w/index.php?oldid=1311772819 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot control-break-181039-6206c9f26183da7f · hash 6206c9f26183da7fc810ab8aca1d7d021fbbebe685278564e60757c3f97cbfb0 · captured 1758048476.0 · version history

Cite this page as: encyclopegia.org, “Control break”, snapshot control-break-181039-6206c9f26183da7f. https://encyclopegia.org/a/control-break