Vadim Zaytsev aka @grammarware

BabyCobol: PERFORM

a statement to call a paragraph or section within the program

Format

 PERFORM ProcedureName THROUGH ProcedureNameAtomic TIMES

Remarks

See a separate example showcasing the interplay between PERFORM and GO TO.

Origins

AppBuilder   PERFORM
CLIST   SYSCALL
COBOL   PERFORM (out-of-line)
FORTRAN   CALL
PL/I   CALL
RPG   CAS EXSR

BabyCobol is a project by Dr. Vadim Zaytsev a.k.a. @grammarware. Page last updated in March 2024.
XHTML 1.1 CSS 3