Control break explained
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.[1] [2] [3] [4] 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, e.g. 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.[5] [6]
With fourth generation languages such as SQL, the programming language should handle most of the details of control breaks automatically.[7] [8] [9]
Notes and References
- https://books.google.com/books?id=EGWeBQAAQBAJ&dq=Control+break+computer+programming&pg=PA201 Computer Programming Languages in Practice: Made Simple Computerbooks
- https://books.google.com/books?id=J88gAQAAIAAJ&q=Control+break+computer+programming Logic and Structured Design for Computer Programmers
- https://books.google.com/books?id=RzAeCgAAQBAJ&dq=Control+break+computer+programming&pg=PT368 Programming Logic and Design, Introductory
- https://books.google.com/books?id=pkwsAQAAIAAJ&q=Control+break+computer+programming Introduction to computer programming RPG
- https://books.google.com/books?id=nauWlPTBcjIC&dq=Control+break+computer+programming&pg=PA512 Academic Press Dictionary of Science and Technology
- https://books.google.com/books?id=cE0gAQAAIAAJ&q=Control+break+computer+programming Introduction to computer programming structured COBOL
- https://books.google.com/books?id=Hi9fMnOoRtAC&dq=Control+break+computer+programming+SQL&pg=PA528 Joe Celko's SQL for Smarties: Advanced SQL Programming
- https://books.google.com/books?id=ytBQAAAAYAAJ&q=Control+break+computer+programming+SQL Oracle SQL
- https://books.google.com/books?id=HUSeBQAAQBAJ&dq=Control+break+computer+programming+SQL&pg=PA46 Relational Databases: State of the Art Report 14:5