cobol1.hlp (Topic list)
EXIT PROGRAM (↑ Statements)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Verb:         EXIT
 
  Function:     Marks the end of a procedure or cycle of an in-line
                perform, causing the indicated level of procedure (PERFORM
                CYCLE, PERFORM, PARAGRAPH, SECTION or PROGRAM) to be
                terminated at that point.
 
  Syntax:       Which format?   PROGRAM     PERFORM
                               paragraph
 
     ─EXIT─┬───────────────────────────────────────────────────────────┬
             └─PROGRAM─┬─────────────────────────────────────────────────┤
                       └┬─RETURNING─┬─┬────────────┬─data-name-1─────────┤
                        └─GIVING────┘ ├─ADDRESS OF─┘                     │
                                      └─literal-1─┬─────────────────────┬┘
                                                  └─SIZE─┬──┬─literal-2─┘
                                                         └IS┘
                                    -♦-