SKIP3 adds three blank lines—a strong visual separator—commonly before report-wide summaries or between chapters.
1WRITE PRINT-REC AFTER ADVANCING 3 LINES
1234IF LINE-COUNTER > PAGE-LIMIT - 3 WRITE PRINT-REC AFTER ADVANCING PAGE END-IF WRITE PRINT-REC AFTER ADVANCING 3 LINES
Action | Syntax | Note |
---|---|---|
Three blanks | WRITE ... AFTER ADVANCING 3 LINES | Strong separator |
Guard | IF LINE-COUNTER > PAGE-LIMIT - 3 | Advance PAGE first |
1. COBOL equivalent of SKIP3?
2. What to check before SKIP3?