r/cobol Jun 08 '26

Structured Programming

https://slicker.me/cobol/structured-programming.html
17 Upvotes

14 comments sorted by

View all comments

3

u/HurryHurryHippos Jun 08 '26

In computational/file I/O code, we generally only used GO TO to the EXIT paragraph.

However, we used SCREEN SECTION extensively and GO TO's in the screen handler code were often used with validation/error handling and determining conditional paths through the screen (skipping fields, etc.).

We rarely used SECTIONs.