- PERFORM → used for executing a paragraph or section within the same program (like a loop or subroutine).
- CALL → used for calling an external program or subprogram.
Example:
PERFORM CALC-PARA. *> internal call
CALL 'SUBPROG' USING VAR1. *> external program call
Leave a Reply